Mock Version: 1.2.14 Mock Version: 1.2.14 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rb_libtorrent.spec'], timeout=172800shell=FalseprintOutput=Falseenv={'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOME': '/builddir', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'}gid=425logger=user='mockbuild'chrootPath='/var/lib/mock/f25-build-5215611-591410/root'uid=1000) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rb_libtorrent.spec'] with env {'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOME': '/builddir', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'} and shell False sh: /usr/bin/python: No such file or directory warning: Could not canonicalize hostname: buildvm-13.phx2.fedoraproject.org Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rb_libtorrent-1.0.9-2.fc25.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rb_libtorrent.spec '], timeout=172800shell=FalseprintOutput=Falseenv={'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOME': '/builddir', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'}private_network=Truegid=425logger=user='mockbuild'chrootPath='/var/lib/mock/f25-build-5215611-591410/root'uid=1000) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rb_libtorrent.spec '] with env {'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOME': '/builddir', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6kHC5x + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libtorrent-rasterbar-1.0.9 + /usr/bin/gzip -dc /builddir/build/SOURCES/libtorrent-rasterbar-1.0.9.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libtorrent-rasterbar-1.0.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (rb_libtorrent-1.0.1-boost_noncopyable.patch): + echo 'Patch #0 (rb_libtorrent-1.0.1-boost_noncopyable.patch):' + /usr/bin/patch -p1 --fuzz=0 patching file include/libtorrent/disk_buffer_pool.hpp Patch #1 (rb_libtorrent-1.0.6-system-tommath.patch): + echo 'Patch #1 (rb_libtorrent-1.0.6-system-tommath.patch):' + /usr/bin/patch -p1 --fuzz=0 patching file include/libtorrent/Makefile.am patching file include/libtorrent/Makefile.in Hunk #1 succeeded at 163 (offset 10 lines). Hunk #2 succeeded at 504 (offset 13 lines). patching file src/Makefile.am Hunk #2 succeeded at 129 (offset 1 line). patching file src/Makefile.in Hunk #1 succeeded at 152 (offset 9 lines). Hunk #2 succeeded at 205 (offset 9 lines). Hunk #3 succeeded at 539 (offset 13 lines). Hunk #4 succeeded at 588 (offset 14 lines). Hunk #5 succeeded at 790 (offset 13 lines). patching file src/pe_crypto.cpp + rm include/libtorrent/tommath.h include/libtorrent/tommath_class.h include/libtorrent/tommath_superclass.h src/mpi.c + rm -f docs/building.rst docs/client_test.rst docs/contributing.rst docs/dht_extensions.rst docs/dht_rss.rst docs/dht_sec.rst docs/dht_store.rst docs/examples.rst docs/extension_protocol.rst docs/features.rst docs/index.rst docs/manual-ref.rst docs/projects.rst docs/python_binding.rst docs/streaming.rst docs/troubleshooting.rst docs/tuning.rst docs/udp_tracker_protocol.rst docs/utp.rst + install -p -m 0644 COPYING COPYING.BSD + install -p -m 0644 /builddir/build/SOURCES/rb_libtorrent-COPYING.Boost COPYING.Boost + install -p -m 0644 /builddir/build/SOURCES/rb_libtorrent-COPYING.zlib COPYING.zlib + iconv -t UTF-8 -f ISO_8859-15 AUTHORS -o AUTHORS.iconv + mv AUTHORS.iconv AUTHORS + sed -i -e 's|"/lib /usr/lib|"/lib64 /usr/lib64|' configure + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WttKZK + umask 022 + cd /builddir/build/BUILD + cd libtorrent-rasterbar-1.0.9 + mkdir -p build/bindings build-python3/bindings + echo build/bindings build-python3/bindings + xargs -n 1 cp -r bindings/python ~/build/BUILD/libtorrent-rasterbar-1.0.9/build ~/build/BUILD/libtorrent-rasterbar-1.0.9 + pushd build + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ../configure ++ find .. -name config.guess -o -name config.sub + for i in '$(find $(dirname ../configure) -name config.guess -o -name config.sub)' ++ basename ../build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ../build-aux/config.sub ++ basename ../build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ../build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> '../build-aux/config.sub' + for i in '$(find $(dirname ../configure) -name config.guess -o -name config.sub)' ++ basename ../build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ../build-aux/config.guess ++ basename ../build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ../build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> '../build-aux/config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ../configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --enable-examples --enable-python-binding --with-boost-system=boost_system --with-boost-python=boost_python --with-libgeoip=system --with-libiconv --enable-export-all checking whether make supports nested variables... yes Building libtorrent-rasterbar 1.0.9 Checking for a C/C++ compiler to use: checking for x86_64-redhat-linux-gnu-gcc... no checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking how to run the C preprocessor... gcc -E checking whether gcc and cc understand -c and -o together... yes checking for x86_64-redhat-linux-gnu-g++... no checking for x86_64-redhat-linux-gnu-c++... no checking for x86_64-redhat-linux-gnu-gpp... no checking for x86_64-redhat-linux-gnu-aCC... no checking for x86_64-redhat-linux-gnu-CC... no checking for x86_64-redhat-linux-gnu-cxx... no checking for x86_64-redhat-linux-gnu-cc++... no checking for x86_64-redhat-linux-gnu-cl.exe... no checking for x86_64-redhat-linux-gnu-FCC... no checking for x86_64-redhat-linux-gnu-KCC... no checking for x86_64-redhat-linux-gnu-RCC... no checking for x86_64-redhat-linux-gnu-xlC_r... no checking for x86_64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking whether g++ understands -c and -o together... yes Checking system type: checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking target system type... x86_64-redhat-linux-gnu Initializing Automake: checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/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 gcc... none checking dependency style of g++... none Initializing Libtool: checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-redhat-linux-gnu-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 gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate Checking for 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... 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... yes Checking for pkg-config: checking for x86_64-redhat-linux-gnu-pkg-config... /usr/bin/x86_64-redhat-linux-gnu-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... no 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... (cached) /usr/bin/x86_64-redhat-linux-gnu-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... yes 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}/lib64/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/lib64 -lpython2.7 checking for Python site-packages path... /usr/lib/python2.7/site-packages checking python extra libraries... -lpthread -ldl -lutil -lm checking python extra linking flags... -Xlinker -export-dynamic checking consistency of all components of python development environment... yes checking whether the Boost::Python library is available... yes checking whether boost_python is the correct library... 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... yes configure: libgeoip: now checking for the libgeoip library... checking for libgeoip with pkg-config... yes checking for GEOIP... yes checking whether to link against system libiconv... checking for shared library run path origin... done yes checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); sed: can't read include/libtorrent/version.hpp: No such file or directory 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/link_flags config.status: creating bindings/python/compile_flags config.status: creating libtorrent-rasterbar.pc config.status: creating libtorrent-rasterbar-cmake.pc config.status: executing depfiles commands config.status: executing libtool commands Configure script has finished system check. Config results: -=-=-=-=-=-=-=-=- Package: name: libtorrent-rasterbar version: 1.0.9 svn revision: Build environment: build system: x86_64-redhat-linux-gnu host system: x86_64-redhat-linux-gnu target system: x86_64-redhat-linux-gnu Compiler and linker flags: CPPFlags: -I/usr/include CFlags: -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic CXXFlags: -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 LDFlags: -L/usr/lib64 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld Libs: -lGeoIP -lpthread Defs: -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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: yes tests: no python bindings: yes Pthread library: CFlags: -lpthread Libs: -lpthread Boost libraries: version: CPPFlags: -I/usr/include LDFlags: -L/usr/lib64 boost.system: -lboost_system 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}/lib64/python2.7/site-packages pkgpyexecdir: ${pyexecdir}/libtorrent-rasterbar -m4- cppflags: -I/usr/include/python2.7 ldflags: extra libs: -Xlinker -export-dynamic External libraries: system libgeoip: system system libiconv: yes Iconv library: Iconv Libs: OpenSSL library: OpenSSL Libs: -lssl -lcrypto OpenSSL LDFlags: OpenSSL Includes: Type 'make' to compile libtorrent-rasterbar 1.0.9 or type 'make V=1' for verbose compiling and then 'make install' to install it into /usr + make V=1 -j4 Making all in include/libtorrent make[1]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/include/libtorrent' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/include/libtorrent' Making all in src make[1]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o web_connection_base.lo ../../src/web_connection_base.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o alert.lo ../../src/alert.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o alert_manager.lo ../../src/alert_manager.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o allocator.lo ../../src/allocator.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/web_connection_base.cpp -fPIC -DPIC -o .libs/web_connection_base.o libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/alert_manager.cpp -fPIC -DPIC -o .libs/alert_manager.o libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/alert.cpp -fPIC -DPIC -o .libs/alert.o libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/allocator.cpp -fPIC -DPIC -o .libs/allocator.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o asio.lo ../../src/asio.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/asio.cpp -fPIC -DPIC -o .libs/asio.o In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../src/alert_manager.cpp:34: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../src/alert_manager.cpp:34: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../src/alert_manager.cpp:34: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../src/alert_manager.cpp:34: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:36:0: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:36:0: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:36:0: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:36:0: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:34:0: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:34:0: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:34:0: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:34:0: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:131:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_added_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:131:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_added_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:153:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_removed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:153:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_removed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:174:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(read_piece_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:174:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(read_piece_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:194:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_completed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:194:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_completed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:212:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_renamed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:212:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_renamed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:234:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_rename_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:234:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_rename_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:335:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(performance_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:335:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(performance_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:352:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(state_changed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:352:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(state_changed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:383:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:383:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:131:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_added_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:131:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_added_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:153:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_removed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:153:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_removed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:174:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(read_piece_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:174:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(read_piece_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:194:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_completed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:194:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_completed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:212:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_renamed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:212:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_renamed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:234:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_rename_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:234:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_rename_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:335:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(performance_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:335:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(performance_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:352:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(state_changed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:352:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(state_changed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:383:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:383:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:404:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_warning_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:404:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_warning_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:404:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_warning_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:404:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_warning_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:422:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(scrape_reply_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:422:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(scrape_reply_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:422:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(scrape_reply_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:422:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(scrape_reply_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:446:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(scrape_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:446:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(scrape_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:446:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(scrape_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:446:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(scrape_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:465:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_reply_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:465:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_reply_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:465:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_reply_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:465:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_reply_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:485:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_reply_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:485:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_reply_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:485:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_reply_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:485:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_reply_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:501:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_announce_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:501:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_announce_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:501:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_announce_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:501:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_announce_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:523:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(hash_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:523:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(hash_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:523:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(hash_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:523:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(hash_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:539:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_ban_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:539:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_ban_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:539:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_ban_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:552:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_unsnubbed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:552:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_unsnubbed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117: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(peer_snubbed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118: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(peer_snubbed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:578:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:578:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:598:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_connect_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:598:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_connect_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:614:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_disconnected_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:614:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_disconnected_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:636:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(invalid_request_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:539:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_ban_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:636:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(invalid_request_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:651:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_finished_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:552:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_unsnubbed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:651:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_finished_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:552:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_unsnubbed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:667:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(piece_finished_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117: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(peer_snubbed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:667:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(piece_finished_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118: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(peer_snubbed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:683:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(request_dropped_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:578:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:683:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(request_dropped_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:578:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:700:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(block_timeout_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:598:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_connect_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:700:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(block_timeout_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:598:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_connect_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:717:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(block_finished_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:614:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_disconnected_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:717:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(block_finished_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:614:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_disconnected_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:636:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(invalid_request_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:733:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(block_downloading_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:636:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(invalid_request_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:733:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(block_downloading_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:651:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_finished_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:751:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(unwanted_block_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:651:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_finished_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:751:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(unwanted_block_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:768:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(storage_moved_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:768:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(storage_moved_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:783:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(storage_moved_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:783:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(storage_moved_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:805:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_deleted_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:805:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_deleted_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:822:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_delete_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:822:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_delete_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:848:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(save_resume_data_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:848:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(save_resume_data_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:667:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(piece_finished_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:667:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(piece_finished_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:866: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.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:683:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(request_dropped_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:866: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.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:683:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(request_dropped_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:888:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_paused_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:700:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(block_timeout_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:888:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_paused_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:700:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(block_timeout_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:901:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_resumed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:717:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(block_finished_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:901:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_resumed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:717:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(block_finished_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:914:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_checked_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:914:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_checked_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:733:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(block_downloading_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:733:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(block_downloading_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:933:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(url_seed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:751:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(unwanted_block_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:933:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(url_seed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:751:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(unwanted_block_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117: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(file_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:768:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(storage_moved_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118: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(file_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:768:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(storage_moved_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:982:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(metadata_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:982:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(metadata_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:783:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(storage_moved_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:783:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(storage_moved_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1021:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(metadata_received_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1021:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(metadata_received_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:805:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_deleted_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:805:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_deleted_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1037:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(udp_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:822:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_delete_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:822:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_delete_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1037:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(udp_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1058:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(external_ip_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:848:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(save_resume_data_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1058:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(external_ip_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1087:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(listen_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1087:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(listen_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1121:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(listen_succeeded_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:848:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(save_resume_data_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1121:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(listen_succeeded_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1146:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(portmap_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:866: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.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1146:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(portmap_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:866: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.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1175:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(portmap_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:888:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_paused_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:888:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_paused_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:901:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_resumed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:901:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_resumed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:914:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_checked_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:914:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_checked_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:933:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(url_seed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:933:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(url_seed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117: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(file_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118: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(file_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:982:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(metadata_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:982:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(metadata_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1021:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(metadata_received_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1021:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(metadata_received_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1037:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(udp_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1175:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(portmap_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1037:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(udp_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1200:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(portmap_log_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1200:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(portmap_log_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1058:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(external_ip_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1058:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(external_ip_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1218:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(fastresume_rejected_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1218:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(fastresume_rejected_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1087:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(listen_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1087:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(listen_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1245:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_blocked_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1245:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_blocked_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1121:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(listen_succeeded_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1121:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(listen_succeeded_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1274:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_announce_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1274:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_announce_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1146:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(portmap_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1146:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(portmap_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1291:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_get_peers_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1291:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_get_peers_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1175:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(portmap_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1175:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(portmap_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1308:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(stats_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1200:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(portmap_log_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1308:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(stats_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1200:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(portmap_log_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1351:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(cache_flushed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1218:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(fastresume_rejected_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1218:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(fastresume_rejected_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1245:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_blocked_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1245:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_blocked_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1274:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_announce_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1274:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_announce_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1291:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_get_peers_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1291:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_get_peers_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1308:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(stats_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1308:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(stats_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1351:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(cache_flushed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1351:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(cache_flushed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1366:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(anonymous_mode_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1366:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(anonymous_mode_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1392:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(lsd_peer_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1392:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(lsd_peer_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1408:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(trackerid_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1351:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(cache_flushed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1408:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(trackerid_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1366:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(anonymous_mode_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1423:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_bootstrap_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1366:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(anonymous_mode_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1423:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_bootstrap_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1392:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(lsd_peer_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1439:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(rss_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/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 ../../src/web_connection_base.cpp:38: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1392:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(lsd_peer_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from ../../include/libtorrent/peer_connection.hpp:66:0, from ../../include/libtorrent/web_connection_base.hpp:60, from ../../src/web_connection_base.cpp:38: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1408:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(trackerid_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1408:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(trackerid_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1439:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(rss_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from ../../include/libtorrent/peer_connection.hpp:66:0, from ../../include/libtorrent/web_connection_base.hpp:60, from ../../src/web_connection_base.cpp:38: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/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 ../../src/web_connection_base.cpp:38: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1423:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_bootstrap_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1423:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_bootstrap_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1439:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(rss_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1481:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1439:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(rss_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1481:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1499:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_need_cert_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1499:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_need_cert_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1481:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1519:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(incoming_connection_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1481:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1519:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(incoming_connection_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1499:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_need_cert_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1553:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(add_torrent_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1499:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_need_cert_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1553:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(add_torrent_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1519:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(incoming_connection_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1519:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(incoming_connection_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1553:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(add_torrent_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1553:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(add_torrent_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1573:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(state_update_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1573:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(state_update_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1573:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(state_update_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1598:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_update_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1598:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_update_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1619:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(rss_item_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1619:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(rss_item_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1635:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1635:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1660:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_immutable_item_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1660:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_immutable_item_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1685:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_mutable_item_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1573:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(state_update_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1598:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_update_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1598:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_update_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1685:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_mutable_item_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1619:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(rss_item_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1724:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_put_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1724:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_put_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1746:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(i2p_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1746:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(i2p_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1619:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(rss_item_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1635:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1635:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1660:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_immutable_item_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1660:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_immutable_item_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1685:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_mutable_item_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1685:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_mutable_item_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1724:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_put_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1724:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_put_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1746:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(i2p_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1746:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(i2p_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/alert_manager.cpp: At global scope: ../../src/alert_manager.cpp:75: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.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/alert_manager.cpp: In member function 'void libtorrent::alert_manager::set_dispatch_function(const boost::function)>&)': ../../src/alert_manager.cpp:88: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.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/alert_manager.cpp: In function 'void libtorrent::dispatch_alert(boost::function, libtorrent::alert*)': ../../src/alert_manager.cpp:97:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr holder(alert_); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/alert_manager.cpp: In member function 'void libtorrent::alert_manager::post_alert_ptr(libtorrent::alert*)': ../../src/alert_manager.cpp:103:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr a(alert_); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/alert_manager.cpp: In member function 'void libtorrent::alert_manager::post_alert(const libtorrent::alert&)': ../../src/alert_manager.cpp:121: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.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/alert_manager.cpp: At global scope: ../../src/alert_manager.cpp:137:37: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void alert_manager::post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l) ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/alert_manager.cpp:161: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.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/alert_manager.cpp: In member function 'std::auto_ptr libtorrent::alert_manager::get()': ../../src/alert_manager.cpp:166:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] return std::auto_ptr(0); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/alert_manager.cpp:170:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] return std::auto_ptr(result); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o assert.lo ../../src/assert.cpp In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../src/web_connection_base.cpp:38: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../src/web_connection_base.cpp:38: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../src/web_connection_base.cpp:38: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../src/web_connection_base.cpp:38: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/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 ../../src/web_connection_base.cpp:38: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/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 ../../src/web_connection_base.cpp:38: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/assert.cpp -fPIC -DPIC -o .libs/assert.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o bandwidth_limit.lo ../../src/bandwidth_limit.cpp In file included from ../../src/web_connection_base.cpp:39:0: ../../include/libtorrent/session.hpp:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:39:0: ../../include/libtorrent/session.hpp:1006: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/bandwidth_limit.cpp -fPIC -DPIC -o .libs/bandwidth_limit.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o bandwidth_manager.lo ../../src/bandwidth_manager.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o bandwidth_queue_entry.lo ../../src/bandwidth_queue_entry.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o bloom_filter.lo ../../src/bloom_filter.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/bandwidth_manager.cpp -fPIC -DPIC -o .libs/bandwidth_manager.o libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/bandwidth_queue_entry.cpp -fPIC -DPIC -o .libs/bandwidth_queue_entry.o libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/bloom_filter.cpp -fPIC -DPIC -o .libs/bloom_filter.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o broadcast_socket.lo ../../src/broadcast_socket.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o bt_peer_connection.lo ../../src/bt_peer_connection.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o chained_buffer.lo ../../src/chained_buffer.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/broadcast_socket.cpp -fPIC -DPIC -o .libs/broadcast_socket.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o connection_queue.lo ../../src/connection_queue.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/bt_peer_connection.cpp -fPIC -DPIC -o .libs/bt_peer_connection.o libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/chained_buffer.cpp -fPIC -DPIC -o .libs/chained_buffer.o libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/connection_queue.cpp -fPIC -DPIC -o .libs/connection_queue.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o ConvertUTF.lo ../../src/ConvertUTF.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/ConvertUTF.cpp -fPIC -DPIC -o .libs/ConvertUTF.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o create_torrent.lo ../../src/create_torrent.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o disk_buffer_holder.lo ../../src/disk_buffer_holder.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/create_torrent.cpp -fPIC -DPIC -o .libs/create_torrent.o In file included from ../../include/libtorrent/peer_connection.hpp:66:0, from ../../include/libtorrent/bt_peer_connection.hpp:59, from ../../src/bt_peer_connection.cpp:42: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/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 ../../src/bt_peer_connection.cpp:42: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/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 ../../src/bt_peer_connection.cpp:42: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/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 ../../src/bt_peer_connection.cpp:42: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/disk_buffer_holder.cpp -fPIC -DPIC -o .libs/disk_buffer_holder.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o disk_buffer_pool.lo ../../src/disk_buffer_pool.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/disk_buffer_pool.cpp -fPIC -DPIC -o .libs/disk_buffer_pool.o In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/bt_peer_connection.cpp:42: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/bt_peer_connection.cpp:42: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/bt_peer_connection.cpp:42: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/bt_peer_connection.cpp:42: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/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 ../../src/bt_peer_connection.cpp:42: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/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 ../../src/bt_peer_connection.cpp:42: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:43:0: ../../include/libtorrent/session.hpp:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:43:0: ../../include/libtorrent/session.hpp:1006: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o disk_io_thread.lo ../../src/disk_io_thread.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/disk_io_thread.cpp -fPIC -DPIC -o .libs/disk_io_thread.o In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/disk_buffer_holder.cpp:34: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/disk_buffer_holder.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/disk_buffer_holder.cpp:34: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/disk_buffer_holder.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/disk_buffer_holder.cpp:34: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/disk_buffer_holder.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/disk_buffer_holder.cpp:34: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/disk_buffer_holder.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/disk_buffer_holder.cpp:34: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/disk_buffer_holder.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/disk_buffer_holder.cpp:34: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/disk_buffer_holder.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/disk_buffer_holder.cpp:34: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/disk_buffer_holder.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/disk_buffer_holder.cpp:34: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/disk_buffer_holder.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/disk_buffer_holder.cpp:34:0: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/disk_buffer_holder.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/disk_buffer_holder.cpp:34:0: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/disk_buffer_holder.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o entry.lo ../../src/entry.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o enum_net.lo ../../src/enum_net.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/entry.cpp -fPIC -DPIC -o .libs/entry.o libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/enum_net.cpp -fPIC -DPIC -o .libs/enum_net.o ../../src/entry.cpp: In member function 'libtorrent::entry::list_type& libtorrent::entry::list()': ../../src/entry.cpp:214:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(data); ^ ../../src/entry.cpp: In member function 'const list_type& libtorrent::entry::list() const': ../../src/entry.cpp:225:50: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(data); ^ ../../src/entry.cpp: In member function 'void libtorrent::entry::swap(libtorrent::entry&)': ../../src/entry.cpp:523:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] std::swap(*reinterpret_cast(data) ^ ../../src/entry.cpp:524:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] , *reinterpret_cast(e.data)); ^ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o error_code.lo ../../src/error_code.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o escape_string.lo ../../src/escape_string.cpp ../../src/enum_net.cpp: In function 'int libtorrent::{anonymous}::read_nl_sock(int, char*, int, int, int)': ../../src/enum_net.cpp:165:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] } while((nl_hdr->nlmsg_seq != seq) || (nl_hdr->nlmsg_pid != pid)); ~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/enum_net.cpp:165:60: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] } while((nl_hdr->nlmsg_seq != seq) || (nl_hdr->nlmsg_pid != pid)); ~~~~~~~~~~~~~~~~~~^~~~~~ libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/error_code.cpp -fPIC -DPIC -o .libs/error_code.o libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/escape_string.cpp -fPIC -DPIC -o .libs/escape_string.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o file.lo ../../src/file.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o file_pool.lo ../../src/file_pool.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/file.cpp -fPIC -DPIC -o .libs/file.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o file_storage.lo ../../src/file_storage.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/file_pool.cpp -fPIC -DPIC -o .libs/file_pool.o ../../src/file.cpp: In member function 'void libtorrent::directory::next(boost::system::error_code&)': ../../src/file.cpp:917: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.0.0/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/6.0.0/x86_64-redhat-linux/bits/c++config.h:2385, from /usr/include/c++/6.0.0/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:152, from /usr/include/boost/config.hpp:39, from ../../include/libtorrent/config.hpp:45, from ../../src/file.cpp:47: /usr/include/dirent.h:189:12: note: declared here extern int __REDIRECT (readdir_r, ^ ../../src/file.cpp:917: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.0.0/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/6.0.0/x86_64-redhat-linux/bits/c++config.h:2385, from /usr/include/c++/6.0.0/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:152, from /usr/include/boost/config.hpp:39, from ../../include/libtorrent/config.hpp:45, from ../../src/file.cpp:47: /usr/include/dirent.h:189:12: note: declared here extern int __REDIRECT (readdir_r, ^ libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/file_storage.cpp -fPIC -DPIC -o .libs/file_storage.o ../../src/file.cpp: In member function 'libtorrent::size_type libtorrent::file::phys_offset(libtorrent::size_type)': ../../src/file.cpp:1946:29: warning: array subscript is above array bounds [-Warray-bounds] if (fm.fiemap.fm_extents[0].fe_flags & FIEMAP_EXTENT_UNKNOWN) ~~~~~~~~~~~~~~~~~~~~~~^ ../../src/file.cpp:1953: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); ~~~~~~~~~~~~~~~~~~~~~~^ ../../src/file.cpp:1953: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 g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o gzip.lo ../../src/gzip.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o hasher.lo ../../src/hasher.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/gzip.cpp -fPIC -DPIC -o .libs/gzip.o libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/hasher.cpp -fPIC -DPIC -o .libs/hasher.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o http_connection.lo ../../src/http_connection.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o http_parser.lo ../../src/http_parser.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/http_connection.cpp -fPIC -DPIC -o .libs/http_connection.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o http_seed_connection.lo ../../src/http_seed_connection.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o http_stream.lo ../../src/http_stream.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/http_parser.cpp -fPIC -DPIC -o .libs/http_parser.o libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/http_seed_connection.cpp -fPIC -DPIC -o .libs/http_seed_connection.o libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/http_stream.cpp -fPIC -DPIC -o .libs/http_stream.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o http_tracker_connection.lo ../../src/http_tracker_connection.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/http_tracker_connection.cpp -fPIC -DPIC -o .libs/http_tracker_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 ../../src/http_seed_connection.cpp:37: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/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 ../../src/http_seed_connection.cpp:37: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/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 ../../src/http_seed_connection.cpp:37: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/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 ../../src/http_seed_connection.cpp:37: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o i2p_stream.lo ../../src/i2p_stream.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/i2p_stream.cpp -fPIC -DPIC -o .libs/i2p_stream.o In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../include/libtorrent/http_seed_connection.hpp:59, from ../../src/http_seed_connection.cpp:37: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../include/libtorrent/http_seed_connection.hpp:59, from ../../src/http_seed_connection.cpp:37: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../include/libtorrent/http_seed_connection.hpp:59, from ../../src/http_seed_connection.cpp:37: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../include/libtorrent/http_seed_connection.hpp:59, from ../../src/http_seed_connection.cpp:37: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/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 ../../src/http_seed_connection.cpp:37: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/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 ../../src/http_seed_connection.cpp:37: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:38:0: ../../include/libtorrent/session.hpp:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:38:0: ../../include/libtorrent/session.hpp:1006: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from ../../include/libtorrent/torrent.hpp:65:0, from ../../src/http_tracker_connection.cpp:56: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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 ../../src/http_tracker_connection.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/torrent.hpp:65:0, from ../../src/http_tracker_connection.cpp:56: ../../include/libtorrent/alert.hpp:254: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.0.0/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 ../../src/http_tracker_connection.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/torrent.hpp:65:0, from ../../src/http_tracker_connection.cpp:56: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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 ../../src/http_tracker_connection.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/torrent.hpp:65:0, from ../../src/http_tracker_connection.cpp:56: ../../include/libtorrent/alert.hpp:283: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.0.0/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 ../../src/http_tracker_connection.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../src/http_tracker_connection.cpp:56: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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 ../../src/http_tracker_connection.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../src/http_tracker_connection.cpp:56: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/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 ../../src/http_tracker_connection.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../src/http_tracker_connection.cpp:56: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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 ../../src/http_tracker_connection.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../src/http_tracker_connection.cpp:56: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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 ../../src/http_tracker_connection.cpp:39: /usr/include/c++/6.0.0/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/http_tracker_connection.cpp:56: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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 ../../src/http_tracker_connection.cpp:39: /usr/include/c++/6.0.0/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/http_tracker_connection.cpp:56: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/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 ../../src/http_tracker_connection.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o identify_client.lo ../../src/identify_client.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/identify_client.cpp -fPIC -DPIC -o .libs/identify_client.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o instantiate_connection.lo ../../src/instantiate_connection.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o ip_filter.lo ../../src/ip_filter.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/instantiate_connection.cpp -fPIC -DPIC -o .libs/instantiate_connection.o libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/ip_filter.cpp -fPIC -DPIC -o .libs/ip_filter.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o ip_voter.lo ../../src/ip_voter.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/ip_voter.cpp -fPIC -DPIC -o .libs/ip_voter.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o lazy_bdecode.lo ../../src/lazy_bdecode.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o logger.lo ../../src/logger.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/lazy_bdecode.cpp -fPIC -DPIC -o .libs/lazy_bdecode.o libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/logger.cpp -fPIC -DPIC -o .libs/logger.o ../../src/lazy_bdecode.cpp: In member function 'libtorrent::lazy_entry* libtorrent::lazy_entry::dict_find(const string&)': ../../src/lazy_bdecode.cpp:428: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 g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o lsd.lo ../../src/lsd.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o lt_trackers.lo ../../src/lt_trackers.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/lsd.cpp -fPIC -DPIC -o .libs/lsd.o libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/lt_trackers.cpp -fPIC -DPIC -o .libs/lt_trackers.o In file included from ../../include/libtorrent/peer_connection.hpp:66:0, from ../../src/logger.cpp:56: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/logger.cpp:37: /usr/include/c++/6.0.0/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 ../../src/logger.cpp:56: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/logger.cpp:37: /usr/include/c++/6.0.0/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 ../../src/logger.cpp:56: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/logger.cpp:37: /usr/include/c++/6.0.0/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 ../../src/logger.cpp:56: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/logger.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o magnet_uri.lo ../../src/magnet_uri.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/magnet_uri.cpp -fPIC -DPIC -o .libs/magnet_uri.o In file included from ../../include/libtorrent/peer_connection.hpp:66:0, from ../../src/lt_trackers.cpp:50: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/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 ../../src/lt_trackers.cpp:50: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/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 ../../src/lt_trackers.cpp:50: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/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 ../../src/lt_trackers.cpp:50: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o metadata_transfer.lo ../../src/metadata_transfer.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o natpmp.lo ../../src/natpmp.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/metadata_transfer.cpp -fPIC -DPIC -o .libs/metadata_transfer.o libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/natpmp.cpp -fPIC -DPIC -o .libs/natpmp.o In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/lt_trackers.cpp:51: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/lt_trackers.cpp:51: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/lt_trackers.cpp:51: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/lt_trackers.cpp:51: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/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:34: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/magnet_uri.cpp:33: /usr/include/c++/6.0.0/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:34: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/magnet_uri.cpp:33: /usr/include/c++/6.0.0/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:34: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/magnet_uri.cpp:33: /usr/include/c++/6.0.0/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:34: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/magnet_uri.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/magnet_uri.cpp:34:0: ../../include/libtorrent/session.hpp:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/magnet_uri.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/magnet_uri.cpp:34:0: ../../include/libtorrent/session.hpp:1006: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/magnet_uri.cpp:33: /usr/include/c++/6.0.0/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 ../../src/lt_trackers.cpp:51: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/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 ../../src/lt_trackers.cpp:51: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/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 ../../src/metadata_transfer.cpp:50: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/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 ../../src/metadata_transfer.cpp:50: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/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 ../../src/metadata_transfer.cpp:50: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/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 ../../src/metadata_transfer.cpp:50: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o parse_url.lo ../../src/parse_url.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o pe_crypto.lo ../../src/pe_crypto.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/parse_url.cpp -fPIC -DPIC -o .libs/parse_url.o In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/metadata_transfer.cpp:51: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/metadata_transfer.cpp:51: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/metadata_transfer.cpp:51: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/metadata_transfer.cpp:51: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/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 ../../src/metadata_transfer.cpp:51: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/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 ../../src/metadata_transfer.cpp:51: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/pe_crypto.cpp -fPIC -DPIC -o .libs/pe_crypto.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o peer_connection.lo ../../src/peer_connection.cpp In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o piece_picker.lo ../../src/piece_picker.cpp In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/pe_crypto.cpp: In constructor 'libtorrent::dh_key_exchange::dh_key_exchange()': ../../src/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 g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o packet_buffer.lo ../../src/packet_buffer.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/peer_connection.cpp -fPIC -DPIC -o .libs/peer_connection.o libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/piece_picker.cpp -fPIC -DPIC -o .libs/piece_picker.o libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/packet_buffer.cpp -fPIC -DPIC -o .libs/packet_buffer.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o policy.lo ../../src/policy.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o puff.lo ../../src/puff.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/policy.cpp -fPIC -DPIC -o .libs/policy.o libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/puff.cpp -fPIC -DPIC -o .libs/puff.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o random.lo ../../src/random.cpp In file included from ../../include/libtorrent/peer_connection.hpp:66:0, from ../../src/peer_connection.cpp:43: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/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 ../../src/peer_connection.cpp:43: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/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 ../../src/peer_connection.cpp:43: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/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 ../../src/peer_connection.cpp:43: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/random.cpp -fPIC -DPIC -o .libs/random.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o rss.lo ../../src/rss.cpp In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o session.lo ../../src/session.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/rss.cpp -fPIC -DPIC -o .libs/rss.o In file included from ../../include/libtorrent/peer_connection.hpp:66:0, from ../../src/policy.cpp:45: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/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 ../../src/policy.cpp:45: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/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 ../../src/policy.cpp:45: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/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 ../../src/policy.cpp:45: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/session.cpp -fPIC -DPIC -o .libs/session.o In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/peer_connection.cpp:53: ../../include/libtorrent/alert_manager.hpp: At global scope: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/peer_connection.cpp:53: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/peer_connection.cpp:53: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/peer_connection.cpp:53: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:53:0: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:53:0: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../include/libtorrent/web_peer_connection.hpp:58, from ../../src/policy.cpp:46: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../include/libtorrent/web_peer_connection.hpp:58, from ../../src/policy.cpp:46: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../include/libtorrent/web_peer_connection.hpp:58, from ../../src/policy.cpp:46: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../include/libtorrent/web_peer_connection.hpp:58, from ../../src/policy.cpp:46: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/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 ../../src/policy.cpp:46: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/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 ../../src/policy.cpp:46: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/peer_connection.hpp:71:0, from ../../src/policy.cpp:45: ../../include/libtorrent/policy.hpp: In constructor 'libtorrent::policy::peer::peer(uint16_t, bool, int)': ../../include/libtorrent/policy.hpp:205:28: warning: 'libtorrent::policy::peer::peer_rank' will be initialized after [-Wreorder] mutable boost::uint32_t peer_rank; ^~~~~~~~~ ../../include/libtorrent/policy.hpp:199:31: warning: 'std::pair* libtorrent::policy::peer::inet_as' [-Wreorder] std::pair* inet_as; ^~~~~~~ ../../src/policy.cpp:1885:2: warning: when initialized here [-Wreorder] policy::peer::peer(boost::uint16_t port, bool conn, int src) ^~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/rss.cpp:37: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/rss.cpp:37: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/rss.cpp:37: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/rss.cpp:37: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/rss.cpp:37: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/rss.cpp:37: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/rss.cpp:37: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/rss.cpp:37: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/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:60: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/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:60: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/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:60: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/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:60: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:37:0: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:37:0: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:60:0: ../../include/libtorrent/session.hpp:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:60:0: ../../include/libtorrent/session.hpp:1006: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:38:0: ../../include/libtorrent/session.hpp:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:38:0: ../../include/libtorrent/session.hpp:1006: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/session.cpp:66: ../../include/libtorrent/alert_manager.hpp: At global scope: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/session.cpp:66: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/session.cpp:66: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/session.cpp:66: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/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 ../../src/session.cpp:66: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/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 ../../src/session.cpp:66: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o session_impl.lo ../../src/session_impl.cpp ../../src/session.cpp:1137: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/session.cpp:1142: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/session_impl.cpp -fPIC -DPIC -o .libs/session_impl.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o settings.lo ../../src/settings.cpp In file included from ../../include/libtorrent/session.hpp:57:0, from ../../src/session_impl.cpp:62: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/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_impl.cpp:62: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/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_impl.cpp:62: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/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_impl.cpp:62: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:62:0: ../../include/libtorrent/session.hpp:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:62:0: ../../include/libtorrent/session.hpp:1006: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/settings.cpp -fPIC -DPIC -o .libs/settings.o In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/session_impl.cpp:68: ../../include/libtorrent/alert_manager.hpp: At global scope: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/session_impl.cpp:68: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/session_impl.cpp:68: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/session_impl.cpp:68: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/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 ../../src/session_impl.cpp:68: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/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 ../../src/session_impl.cpp:68: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o sha1.lo ../../src/sha1.cpp 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:58, from ../../include/libtorrent/session.hpp:50, from ../../src/session_impl.cpp:62: ../../src/session_impl.cpp: In member function 'void libtorrent::aux::session_impl::load_state(const libtorrent::lazy_entry*)': ../../src/session_impl.cpp:1364:29: warning: offsetof within non-standard-layout type 'libtorrent::aux::session_impl' is undefined [-Winvalid-offsetof] if (c.offset == offsetof(session_impl, m_settings)) ^ ../../src/session_impl.cpp: In member function 'void libtorrent::aux::session_impl::open_new_incoming_socks_connection()': ../../src/session_impl.cpp:2489:8: warning: unused variable 'ret' [-Wunused-variable] bool ret = instantiate_connection(m_io_service, m_proxy ^~~ ../../src/session_impl.cpp: In member function 'void libtorrent::aux::session_impl::open_new_incoming_i2p_connection()': ../../src/session_impl.cpp:2547:8: warning: unused variable 'ret' [-Wunused-variable] bool ret = instantiate_connection(m_io_service, m_i2p_conn.proxy() ^~~ libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/sha1.cpp -fPIC -DPIC -o .libs/sha1.o ../../src/session_impl.cpp: In member function 'void libtorrent::aux::session_impl::post_torrent_updates()': ../../src/session_impl.cpp:5060: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/session_impl.cpp: At global scope: ../../src/session_impl.cpp:6230: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/session_impl.cpp:6235: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o smart_ban.lo ../../src/smart_ban.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/smart_ban.cpp -fPIC -DPIC -o .libs/smart_ban.o In file included from ../../include/libtorrent/torrent.hpp:65:0, from ../../src/smart_ban.cpp:53: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/smart_ban.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/torrent.hpp:65:0, from ../../src/smart_ban.cpp:53: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/smart_ban.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/torrent.hpp:65:0, from ../../src/smart_ban.cpp:53: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/smart_ban.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/torrent.hpp:65:0, from ../../src/smart_ban.cpp:53: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/smart_ban.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../src/smart_ban.cpp:53: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/smart_ban.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../src/smart_ban.cpp:53: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/smart_ban.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../src/smart_ban.cpp:53: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/smart_ban.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../src/smart_ban.cpp:53: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/smart_ban.cpp:39: /usr/include/c++/6.0.0/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/smart_ban.cpp:53: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/smart_ban.cpp:39: /usr/include/c++/6.0.0/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/smart_ban.cpp:53: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/smart_ban.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o socket_io.lo ../../src/socket_io.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o socket_type.lo ../../src/socket_type.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/socket_io.cpp -fPIC -DPIC -o .libs/socket_io.o libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/socket_type.cpp -fPIC -DPIC -o .libs/socket_type.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o socks5_stream.lo ../../src/socks5_stream.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o stat.lo ../../src/stat.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/socks5_stream.cpp -fPIC -DPIC -o .libs/socks5_stream.o libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/stat.cpp -fPIC -DPIC -o .libs/stat.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o storage.lo ../../src/storage.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/storage.cpp -fPIC -DPIC -o .libs/storage.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o string_util.lo ../../src/string_util.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o thread.lo ../../src/thread.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/string_util.cpp -fPIC -DPIC -o .libs/string_util.o libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/thread.cpp -fPIC -DPIC -o .libs/thread.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o torrent.lo ../../src/torrent.cpp In file included from ../../include/libtorrent/torrent.hpp:65:0, from ../../src/storage.cpp:56: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/storage.cpp:43: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/torrent.hpp:65:0, from ../../src/storage.cpp:56: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/storage.cpp:43: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/torrent.hpp:65:0, from ../../src/storage.cpp:56: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/storage.cpp:43: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/torrent.hpp:65:0, from ../../src/storage.cpp:56: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/storage.cpp:43: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o torrent_handle.lo ../../src/torrent_handle.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/torrent.cpp -fPIC -DPIC -o .libs/torrent.o libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/torrent_handle.cpp -fPIC -DPIC -o .libs/torrent_handle.o In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../src/storage.cpp:56: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/storage.cpp:43: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../src/storage.cpp:56: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/storage.cpp:43: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../src/storage.cpp:56: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/storage.cpp:43: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../src/storage.cpp:56: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/storage.cpp:43: /usr/include/c++/6.0.0/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/storage.cpp:56: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/storage.cpp:43: /usr/include/c++/6.0.0/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/storage.cpp:56: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/storage.cpp:43: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/storage.cpp:58:0: ../../include/libtorrent/session.hpp:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/storage.cpp:43: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/storage.cpp:58:0: ../../include/libtorrent/session.hpp:1006: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/storage.cpp:43: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/storage.cpp: In member function 'int libtorrent::piece_manager::write_impl(libtorrent::file::iovec_t*, int, int, int)': ../../src/storage.cpp:1889:9: warning: unused variable 'hash_offset' [-Wunused-variable] int hash_offset = i->second.offset; ^~~~~~~~~~~ In file included from ../../include/libtorrent/peer_connection.hpp:66:0, from ../../include/libtorrent/bt_peer_connection.hpp:59, from ../../src/torrent_handle.cpp:52: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent_handle.cpp:45: /usr/include/c++/6.0.0/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 ../../src/torrent_handle.cpp:52: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent_handle.cpp:45: /usr/include/c++/6.0.0/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 ../../src/torrent_handle.cpp:52: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent_handle.cpp:45: /usr/include/c++/6.0.0/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 ../../src/torrent_handle.cpp:52: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent_handle.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o torrent_info.lo ../../src/torrent_info.cpp In file included from ../../include/libtorrent/session.hpp:57:0, from ../../src/torrent.cpp:52: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/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/torrent.cpp:52: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/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/torrent.cpp:52: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/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/torrent.cpp:52: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:52:0: ../../include/libtorrent/session.hpp:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:52:0: ../../include/libtorrent/session.hpp:1006: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/torrent_info.cpp -fPIC -DPIC -o .libs/torrent_info.o In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/torrent.cpp:61: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/torrent.cpp:61: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/torrent.cpp:61: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/torrent.cpp:61: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/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 ../../src/torrent.cpp:61: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/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 ../../src/torrent.cpp:61: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/torrent_handle.cpp:52: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent_handle.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/torrent_handle.cpp:52: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent_handle.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/torrent_handle.cpp:52: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent_handle.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/torrent_handle.cpp:52: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent_handle.cpp:45: /usr/include/c++/6.0.0/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 ../../src/torrent_handle.cpp:52: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent_handle.cpp:45: /usr/include/c++/6.0.0/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 ../../src/torrent_handle.cpp:52: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent_handle.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent_handle.cpp:58:0: ../../include/libtorrent/session.hpp:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent_handle.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent_handle.cpp:58:0: ../../include/libtorrent/session.hpp:1006: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent_handle.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/bt_peer_connection.hpp:64:0, from ../../src/torrent.cpp:61: ../../include/libtorrent/torrent.hpp: In constructor 'libtorrent::torrent::torrent(libtorrent::aux::session_impl&, const endpoint&, int, int, const libtorrent::add_torrent_params&, const libtorrent::sha1_hash&)': ../../include/libtorrent/torrent.hpp:1435:34: warning: 'libtorrent::torrent::m_merge_resume_http_seeds' will be initialized after [-Wreorder] bool m_merge_resume_http_seeds:1; ^ ../../include/libtorrent/torrent.hpp:1307:29: warning: 'unsigned int:24 libtorrent::torrent::m_padding' [-Wreorder] boost::uint32_t m_padding:24; ^~ ../../src/torrent.cpp:157:2: warning: when initialized here [-Wreorder] torrent::torrent( ^~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o time.lo ../../src/time.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/time.cpp -fPIC -DPIC -o .libs/time.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o timestamp_history.lo ../../src/timestamp_history.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/timestamp_history.cpp -fPIC -DPIC -o .libs/timestamp_history.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o tracker_manager.lo ../../src/tracker_manager.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/tracker_manager.cpp -fPIC -DPIC -o .libs/tracker_manager.o In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/tracker_manager.cpp:41: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/tracker_manager.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/tracker_manager.cpp:41: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/tracker_manager.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/tracker_manager.cpp:41: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/tracker_manager.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/tracker_manager.cpp:41: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/tracker_manager.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/tracker_manager.cpp:41: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/tracker_manager.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/tracker_manager.cpp:41: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/tracker_manager.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/tracker_manager.cpp:41: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/tracker_manager.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/tracker_manager.cpp:41: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/tracker_manager.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/tracker_manager.cpp:41:0: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/tracker_manager.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/tracker_manager.cpp:41:0: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/tracker_manager.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o udp_socket.lo ../../src/udp_socket.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/udp_socket.cpp -fPIC -DPIC -o .libs/udp_socket.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o udp_tracker_connection.lo ../../src/udp_tracker_connection.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/udp_tracker_connection.cpp -fPIC -DPIC -o .libs/udp_tracker_connection.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o upnp.lo ../../src/upnp.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/upnp.cpp -fPIC -DPIC -o .libs/upnp.o In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/udp_tracker_connection.cpp:51: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/udp_tracker_connection.cpp:40: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/udp_tracker_connection.cpp:51: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/udp_tracker_connection.cpp:40: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/udp_tracker_connection.cpp:51: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/udp_tracker_connection.cpp:40: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/udp_tracker_connection.cpp:51: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/udp_tracker_connection.cpp:40: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/udp_tracker_connection.cpp:51: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/udp_tracker_connection.cpp:40: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/udp_tracker_connection.cpp:51: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/udp_tracker_connection.cpp:40: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/udp_tracker_connection.cpp:51: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/udp_tracker_connection.cpp:40: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/udp_tracker_connection.cpp:51: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/udp_tracker_connection.cpp:40: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/udp_tracker_connection.cpp:51:0: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/udp_tracker_connection.cpp:40: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/udp_tracker_connection.cpp:51:0: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/udp_tracker_connection.cpp:40: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o ut_metadata.lo ../../src/ut_metadata.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/ut_metadata.cpp -fPIC -DPIC -o .libs/ut_metadata.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o ut_pex.lo ../../src/ut_pex.cpp In file included from ../../include/libtorrent/peer_connection.hpp:66:0, from ../../src/ut_metadata.cpp:50: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/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 ../../src/ut_metadata.cpp:50: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/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 ../../src/ut_metadata.cpp:50: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/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 ../../src/ut_metadata.cpp:50: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/ut_pex.cpp -fPIC -DPIC -o .libs/ut_pex.o In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/ut_metadata.cpp:51: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/ut_metadata.cpp:51: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/ut_metadata.cpp:51: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/ut_metadata.cpp:51: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/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 ../../src/ut_metadata.cpp:51: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/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 ../../src/ut_metadata.cpp:51: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/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 ../../src/ut_pex.cpp:45: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_pex.cpp:39: /usr/include/c++/6.0.0/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 ../../src/ut_pex.cpp:45: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_pex.cpp:39: /usr/include/c++/6.0.0/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 ../../src/ut_pex.cpp:45: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_pex.cpp:39: /usr/include/c++/6.0.0/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 ../../src/ut_pex.cpp:45: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_pex.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o utf8.lo ../../src/utf8.cpp In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/ut_pex.cpp:46: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_pex.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/ut_pex.cpp:46: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_pex.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/ut_pex.cpp:46: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_pex.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/ut_pex.cpp:46: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_pex.cpp:39: /usr/include/c++/6.0.0/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 ../../src/ut_pex.cpp:46: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_pex.cpp:39: /usr/include/c++/6.0.0/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 ../../src/ut_pex.cpp:46: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_pex.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o utp_socket_manager.lo ../../src/utp_socket_manager.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/utf8.cpp -fPIC -DPIC -o .libs/utf8.o libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/utp_socket_manager.cpp -fPIC -DPIC -o .libs/utp_socket_manager.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o utp_stream.lo ../../src/utp_stream.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/utp_stream.cpp -fPIC -DPIC -o .libs/utp_stream.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o web_peer_connection.lo ../../src/web_peer_connection.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/web_peer_connection.cpp -fPIC -DPIC -o .libs/web_peer_connection.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o xml_parse.lo ../../src/xml_parse.cpp In file included from ../../src/utp_stream.cpp:35:0: ../../include/libtorrent/sliding_average.hpp: In member function 'void libtorrent::utp_socket_impl::ack_packet(libtorrent::packet*, const libtorrent::ptime&, uint32_t&, uint16_t)': ../../include/libtorrent/sliding_average.hpp:68:38: warning: 'deviation' may be used uninitialized in this function [-Wmaybe-uninitialized] m_average_deviation += (deviation - m_average_deviation) / (m_num_samples - 1); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../../include/libtorrent/sliding_average.hpp:53:7: note: 'deviation' was declared here int deviation; ^~~~~~~~~ libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/xml_parse.cpp -fPIC -DPIC -o .libs/xml_parse.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o version.lo ../../src/version.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o asio_ssl.lo ../../src/asio_ssl.cpp 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 ../../src/web_peer_connection.cpp:38: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/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 ../../src/web_peer_connection.cpp:38: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/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 ../../src/web_peer_connection.cpp:38: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/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 ../../src/web_peer_connection.cpp:38: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/version.cpp -fPIC -DPIC -o .libs/version.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o kademlia/dht_tracker.lo ../../src/kademlia/dht_tracker.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/asio_ssl.cpp -fPIC -DPIC -o .libs/asio_ssl.o libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/kademlia/dht_tracker.cpp -fPIC -DPIC -o kademlia/.libs/dht_tracker.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o kademlia/find_data.lo ../../src/kademlia/find_data.cpp In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../include/libtorrent/web_peer_connection.hpp:58, from ../../src/web_peer_connection.cpp:38: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../include/libtorrent/web_peer_connection.hpp:58, from ../../src/web_peer_connection.cpp:38: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../include/libtorrent/web_peer_connection.hpp:58, from ../../src/web_peer_connection.cpp:38: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../include/libtorrent/web_peer_connection.hpp:58, from ../../src/web_peer_connection.cpp:38: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/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 ../../src/web_peer_connection.cpp:38: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/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 ../../src/web_peer_connection.cpp:38: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:39:0: ../../include/libtorrent/session.hpp:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:39:0: ../../include/libtorrent/session.hpp:1006: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/kademlia/find_data.cpp -fPIC -DPIC -o kademlia/.libs/find_data.o In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/web_peer_connection.cpp: In member function 'virtual void libtorrent::web_peer_connection::write_request(const libtorrent::peer_request&)': ../../src/web_peer_connection.cpp:253:19: warning: unused variable 'front' [-Wunused-variable] peer_request& front = m_requests.front(); ^~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o kademlia/node.lo ../../src/kademlia/node.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/kademlia/node.cpp -fPIC -DPIC -o kademlia/.libs/node.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o kademlia/node_id.lo ../../src/kademlia/node_id.cpp In file included from ../../include/libtorrent/alert_types.hpp:36:0, from ../../src/kademlia/node.cpp:40: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/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 ../../src/kademlia/node.cpp:40: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/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 ../../src/kademlia/node.cpp:40: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/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 ../../src/kademlia/node.cpp:40: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o kademlia/refresh.lo ../../src/kademlia/refresh.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/kademlia/node_id.cpp -fPIC -DPIC -o kademlia/.libs/node_id.o In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/kademlia/dht_tracker.cpp:48: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/dht_tracker.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/kademlia/dht_tracker.cpp:48: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/dht_tracker.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/kademlia/dht_tracker.cpp:48: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/dht_tracker.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/kademlia/dht_tracker.cpp:48: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/dht_tracker.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/kademlia/dht_tracker.cpp:48: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/dht_tracker.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/kademlia/dht_tracker.cpp:48: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/dht_tracker.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/kademlia/dht_tracker.cpp:48: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/dht_tracker.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/kademlia/dht_tracker.cpp:48: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/dht_tracker.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/dht_tracker.cpp:48:0: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/dht_tracker.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/dht_tracker.cpp:48:0: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/dht_tracker.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/kademlia/refresh.cpp -fPIC -DPIC -o kademlia/.libs/refresh.o In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/kademlia/node.cpp:44: ../../include/libtorrent/alert_manager.hpp: At global scope: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/kademlia/node.cpp:44: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/kademlia/node.cpp:44: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/kademlia/node.cpp:44: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o kademlia/routing_table.lo ../../src/kademlia/routing_table.cpp In file included from ../../src/kademlia/node.cpp:44:0: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:44:0: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/kademlia/node.cpp: In member function 'void libtorrent::dht::node_impl::incoming_request(const libtorrent::dht::msg&, libtorrent::entry&)': ../../src/kademlia/node.cpp:1166:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (msg_keys[5] && item->seq != msg_keys[5]->int_value()) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/kademlia/routing_table.cpp -fPIC -DPIC -o kademlia/.libs/routing_table.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o kademlia/rpc_manager.lo ../../src/kademlia/rpc_manager.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/kademlia/rpc_manager.cpp -fPIC -DPIC -o kademlia/.libs/rpc_manager.o ../../src/kademlia/routing_table.cpp: In member function 'const libtorrent::dht::node_entry* libtorrent::dht::routing_table::next_refresh()': ../../src/kademlia/routing_table.cpp:311:6: warning: variable 'bucket_idx' set but not used [-Wunused-but-set-variable] int bucket_idx = -1; ^~~~~~~~~~ ../../src/kademlia/routing_table.cpp: In member function 'bool libtorrent::dht::routing_table::add_node(libtorrent::dht::node_entry)': ../../src/kademlia/routing_table.cpp:472:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (m_buckets.back().live_nodes.size() > bucket_limit(m_buckets.size()-1)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/kademlia/routing_table.cpp: In member function 'libtorrent::dht::routing_table::add_node_status_t libtorrent::dht::routing_table::add_node_impl(libtorrent::dht::node_entry)': ../../src/kademlia/routing_table.cpp:703:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (bucket_index + 1 == m_buckets.size()) ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ../../src/kademlia/routing_table.cpp: In member function 'void libtorrent::dht::routing_table::split_bucket()': ../../src/kademlia/routing_table.cpp:873:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (b.size() > bucket_size_limit) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o kademlia/logging.lo ../../src/kademlia/logging.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/kademlia/logging.cpp -fPIC -DPIC -o kademlia/.libs/logging.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o kademlia/traversal_algorithm.lo ../../src/kademlia/traversal_algorithm.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o kademlia/get_peers.lo ../../src/kademlia/get_peers.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/kademlia/traversal_algorithm.cpp -fPIC -DPIC -o kademlia/.libs/traversal_algorithm.o libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/kademlia/get_peers.cpp -fPIC -DPIC -o kademlia/.libs/get_peers.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o kademlia/get_item.lo ../../src/kademlia/get_item.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o kademlia/item.lo ../../src/kademlia/item.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/kademlia/get_item.cpp -fPIC -DPIC -o kademlia/.libs/get_item.o libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/kademlia/item.cpp -fPIC -DPIC -o kademlia/.libs/item.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o ../ed25519/src/add_scalar.lo ../../src/../ed25519/src/add_scalar.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/../ed25519/src/add_scalar.cpp -fPIC -DPIC -o ../ed25519/src/.libs/add_scalar.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o ../ed25519/src/fe.lo ../../src/../ed25519/src/fe.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o ../ed25519/src/ge.lo ../../src/../ed25519/src/ge.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/../ed25519/src/fe.cpp -fPIC -DPIC -o ../ed25519/src/.libs/fe.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o ../ed25519/src/key_exchange.lo ../../src/../ed25519/src/key_exchange.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/../ed25519/src/ge.cpp -fPIC -DPIC -o ../ed25519/src/.libs/ge.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o ../ed25519/src/keypair.lo ../../src/../ed25519/src/keypair.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o ../ed25519/src/sc.lo ../../src/../ed25519/src/sc.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/../ed25519/src/key_exchange.cpp -fPIC -DPIC -o ../ed25519/src/.libs/key_exchange.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o ../ed25519/src/seed.lo ../../src/../ed25519/src/seed.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/../ed25519/src/keypair.cpp -fPIC -DPIC -o ../ed25519/src/.libs/keypair.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o ../ed25519/src/sha512.lo ../../src/../ed25519/src/sha512.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o ../ed25519/src/sign.lo ../../src/../ed25519/src/sign.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/../ed25519/src/sc.cpp -fPIC -DPIC -o ../ed25519/src/.libs/sc.o libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/../ed25519/src/seed.cpp -fPIC -DPIC -o ../ed25519/src/.libs/seed.o ../../src/../ed25519/src/seed.cpp: In function 'int ed25519_create_seed(unsigned char*)': ../../src/../ed25519/src/seed.cpp:33:26: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(seed, 1, 32, f); ^ libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/../ed25519/src/sha512.cpp -fPIC -DPIC -o ../ed25519/src/.libs/sha512.o libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/../ed25519/src/sign.cpp -fPIC -DPIC -o ../ed25519/src/.libs/sign.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o ../ed25519/src/verify.lo ../../src/../ed25519/src/verify.cpp libtool: compile: g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 1.0.9\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/**/" -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../src -I../../include -I../../ed25519/src -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c ../../src/../ed25519/src/verify.cpp -fPIC -DPIC -o ../ed25519/src/.libs/verify.o /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -version-info 8:0:0 -L/usr/lib64 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libtorrent-rasterbar.la -rpath /usr/lib64 web_connection_base.lo alert.lo alert_manager.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 hasher.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 ip_voter.lo lazy_bdecode.lo logger.lo lsd.lo lt_trackers.lo magnet_uri.lo metadata_transfer.lo natpmp.lo parse_url.lo pe_crypto.lo peer_connection.lo piece_picker.lo packet_buffer.lo policy.lo puff.lo random.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 xml_parse.lo version.lo kademlia/dht_tracker.lo kademlia/find_data.lo kademlia/node.lo kademlia/node_id.lo kademlia/refresh.lo kademlia/routing_table.lo kademlia/rpc_manager.lo kademlia/logging.lo kademlia/traversal_algorithm.lo kademlia/get_peers.lo kademlia/get_item.lo kademlia/item.lo ../ed25519/src/add_scalar.lo ../ed25519/src/fe.lo ../ed25519/src/ge.lo ../ed25519/src/key_exchange.lo ../ed25519/src/keypair.lo ../ed25519/src/sc.lo ../ed25519/src/seed.lo ../ed25519/src/sha512.lo ../ed25519/src/sign.lo ../ed25519/src/verify.lo asio_ssl.lo -lboost_system -lssl -lcrypto -ltommath -lGeoIP -lpthread libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/6.0.0/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/6.0.0/crtbeginS.o .libs/web_connection_base.o .libs/alert.o .libs/alert_manager.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/hasher.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/ip_voter.o .libs/lazy_bdecode.o .libs/logger.o .libs/lsd.o .libs/lt_trackers.o .libs/magnet_uri.o .libs/metadata_transfer.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/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/xml_parse.o .libs/version.o kademlia/.libs/dht_tracker.o kademlia/.libs/find_data.o kademlia/.libs/node.o kademlia/.libs/node_id.o kademlia/.libs/refresh.o kademlia/.libs/routing_table.o kademlia/.libs/rpc_manager.o kademlia/.libs/logging.o kademlia/.libs/traversal_algorithm.o kademlia/.libs/get_peers.o kademlia/.libs/get_item.o kademlia/.libs/item.o ../ed25519/src/.libs/add_scalar.o ../ed25519/src/.libs/fe.o ../ed25519/src/.libs/ge.o ../ed25519/src/.libs/key_exchange.o ../ed25519/src/.libs/keypair.o ../ed25519/src/.libs/sc.o ../ed25519/src/.libs/seed.o ../ed25519/src/.libs/sha512.o ../ed25519/src/.libs/sign.o ../ed25519/src/.libs/verify.o .libs/asio_ssl.o -L/usr/lib64 -lboost_system -lssl -lcrypto -ltommath -lGeoIP -lpthread -L/usr/lib/gcc/x86_64-redhat-linux/6.0.0 -L/usr/lib/gcc/x86_64-redhat-linux/6.0.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/6.0.0/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/6.0.0/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/6.0.0/../../../../lib64/crtn.o -O2 -g -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -Wl,-z -Wl,relro -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 '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/src' Making all in examples make[1]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/examples' g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../examples -ftemplate-depth-50 -I../../include -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o client_test.o ../../examples/client_test.cpp g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../examples -ftemplate-depth-50 -I../../include -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o dump_torrent.o ../../examples/dump_torrent.cpp g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../examples -ftemplate-depth-50 -I../../include -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o make_torrent.o ../../examples/make_torrent.cpp g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../examples -ftemplate-depth-50 -I../../include -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o simple_client.o ../../examples/simple_client.cpp g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../examples -ftemplate-depth-50 -I../../include -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o rss_reader.o ../../examples/rss_reader.cpp In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/simple_client.cpp:36: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/simple_client.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/simple_client.cpp:36: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/simple_client.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/simple_client.cpp:36: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/simple_client.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/simple_client.cpp:36: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/simple_client.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/simple_client.cpp:36:0: ../../include/libtorrent/session.hpp:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/simple_client.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/simple_client.cpp:36:0: ../../include/libtorrent/session.hpp:1006: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.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/simple_client.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../examples -ftemplate-depth-50 -I../../include -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o upnp_test.o ../../examples/upnp_test.cpp In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/client_test.cpp:63: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/client_test.cpp:63: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/client_test.cpp:63: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/client_test.cpp:63: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:63:0: ../../include/libtorrent/session.hpp:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:63:0: ../../include/libtorrent/session.hpp:1006: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../examples/simple_client.cpp: In function 'int main(int, char**)': ../../examples/simple_client.cpp:74:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%c\n", &a); ^ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../examples/client_test.cpp: In function 'std::vector > list_dir(std::__cxx11::string, bool (*)(const string&), boost::system::error_code&)': ../../examples/client_test.cpp:901:9: warning: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated [-Wdeprecated-declarations] while (readdir_r(handle, &de, &dummy) == 0) ^~~~~~~~~ In file included from ../../include/libtorrent/file.hpp:78:0, from ../../include/libtorrent/storage.hpp:60, from ../../include/libtorrent/torrent_handle.hpp:58, from ../../include/libtorrent/session.hpp:50, from ../../examples/client_test.cpp:63: /usr/include/dirent.h:183:12: note: declared here extern int readdir_r (DIR *__restrict __dirp, ^~~~~~~~~ ../../examples/client_test.cpp:901:38: warning: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated [-Wdeprecated-declarations] while (readdir_r(handle, &de, &dummy) == 0) ^ In file included from ../../include/libtorrent/file.hpp:78:0, from ../../include/libtorrent/storage.hpp:60, from ../../include/libtorrent/torrent_handle.hpp:58, from ../../include/libtorrent/session.hpp:50, from ../../examples/client_test.cpp:63: /usr/include/dirent.h:183:12: note: declared here extern int readdir_r (DIR *__restrict __dirp, ^~~~~~~~~ g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../examples -ftemplate-depth-50 -I../../include -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o connection_tester.o ../../examples/connection_tester.cpp ../../examples/client_test.cpp: In function 'int main(int, char**)': ../../examples/client_test.cpp:2634:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr a(*i); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../examples/client_test.cpp:1873:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%4095s", url); ^ ../../examples/client_test.cpp:1911:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &response); ^ ../../examples/client_test.cpp:2031:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%2047s", url); ^ In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/upnp_test.cpp:34: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/upnp_test.cpp:34: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/upnp_test.cpp:34: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/upnp_test.cpp:34: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/rss_reader.cpp:35: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../examples/rss_reader.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/rss_reader.cpp:35: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../examples/rss_reader.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/rss_reader.cpp:35: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../examples/rss_reader.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/rss_reader.cpp:35: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../examples/rss_reader.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/rss_reader.cpp:35:0: ../../include/libtorrent/session.hpp:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../examples/rss_reader.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/rss_reader.cpp:35:0: ../../include/libtorrent/session.hpp:1006: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../examples/rss_reader.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:34:0: ../../include/libtorrent/session.hpp:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:34:0: ../../include/libtorrent/session.hpp:1006: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.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../examples/upnp_test.cpp: In function 'int main(int, char**)': ../../examples/upnp_test.cpp:85:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr holder = s.pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../examples/upnp_test.cpp:95:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr holder = s.pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -lboost_system -L/usr/lib64 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dump_torrent dump_torrent.o ../src/libtorrent-rasterbar.la -lGeoIP -lpthread libtool: link: g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/dump_torrent dump_torrent.o -L/usr/lib64 ../src/.libs/libtorrent-rasterbar.so -lboost_system -lssl -lcrypto -ltommath -lGeoIP -lpthread /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -lboost_system -L/usr/lib64 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o make_torrent make_torrent.o ../src/libtorrent-rasterbar.la -lGeoIP -lpthread /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -lboost_system -L/usr/lib64 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o simple_client simple_client.o ../src/libtorrent-rasterbar.la -lGeoIP -lpthread libtool: link: g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/make_torrent make_torrent.o -L/usr/lib64 ../src/.libs/libtorrent-rasterbar.so -lboost_system -lssl -lcrypto -ltommath -lGeoIP -lpthread /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -lboost_system -L/usr/lib64 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o rss_reader rss_reader.o ../src/libtorrent-rasterbar.la -lGeoIP -lpthread libtool: link: g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/simple_client simple_client.o -L/usr/lib64 ../src/.libs/libtorrent-rasterbar.so -lboost_system -lssl -lcrypto -ltommath -lGeoIP -lpthread libtool: link: g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/rss_reader rss_reader.o -L/usr/lib64 ../src/.libs/libtorrent-rasterbar.so -lboost_system -lssl -lcrypto -ltommath -lGeoIP -lpthread /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -lboost_system -L/usr/lib64 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o upnp_test upnp_test.o ../src/libtorrent-rasterbar.la -lGeoIP -lpthread libtool: link: g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/upnp_test upnp_test.o -L/usr/lib64 ../src/.libs/libtorrent-rasterbar.so -lboost_system -lssl -lcrypto -ltommath -lGeoIP -lpthread /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -lboost_system -L/usr/lib64 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o connection_tester connection_tester.o ../src/libtorrent-rasterbar.la -lGeoIP -lpthread libtool: link: g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/connection_tester connection_tester.o -L/usr/lib64 ../src/.libs/libtorrent-rasterbar.so -lboost_system -lssl -lcrypto -ltommath -lGeoIP -lpthread /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -lboost_system -L/usr/lib64 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o client_test client_test.o ../src/libtorrent-rasterbar.la -lGeoIP -lpthread libtool: link: g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/client_test client_test.o -L/usr/lib64 ../src/.libs/libtorrent-rasterbar.so -lboost_system -lssl -lcrypto -ltommath -lGeoIP -lpthread make[1]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/examples' Making all in test make[1]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/test' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/test' Making all in bindings make[1]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/bindings' Making all in python make[2]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/bindings/python' /usr/bin/python setup.py build running build running build_ext building 'libtorrent' extension creating build creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/src gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -I/usr/include -I/usr/include -I../../../include -I/usr/include/python2.7 -c src/error_code.cpp -o build/temp.linux-x86_64-2.7/src/error_code.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/error_code.cpp:33: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/error_code.cpp:33: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/error_code.cpp:33: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/error_code.cpp:33: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -I/usr/include -I/usr/include -I../../../include -I/usr/include/python2.7 -c src/session_settings.cpp -o build/temp.linux-x86_64-2.7/src/session_settings.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/session_settings.cpp:5: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/session_settings.cpp:5: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/session_settings.cpp:5: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/session_settings.cpp:5: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ In file included from ../../../include/libtorrent/session.hpp:57:0, from src/session_settings.cpp:6: ../../../include/libtorrent/alert.hpp:232: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.0.0/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.0.0/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:254: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.0.0/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.0.0/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:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/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:283: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.0.0/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.0.0/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:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/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:1006: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.0.0/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.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -I/usr/include -I/usr/include -I../../../include -I/usr/include/python2.7 -c src/fingerprint.cpp -o build/temp.linux-x86_64-2.7/src/fingerprint.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/fingerprint.cpp:6: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/fingerprint.cpp:6: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/fingerprint.cpp:6: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/fingerprint.cpp:6: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -I/usr/include -I/usr/include -I../../../include -I/usr/include/python2.7 -c src/version.cpp -o build/temp.linux-x86_64-2.7/src/version.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/version.cpp:6: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/version.cpp:6: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/version.cpp:6: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/version.cpp:6: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -I/usr/include -I/usr/include -I../../../include -I/usr/include/python2.7 -c src/utility.cpp -o build/temp.linux-x86_64-2.7/src/utility.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/utility.cpp:7: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/utility.cpp:7: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/utility.cpp:7: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/utility.cpp:7: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -I/usr/include -I/usr/include -I../../../include -I/usr/include/python2.7 -c src/alert.cpp -o build/temp.linux-x86_64-2.7/src/alert.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/alert.cpp:5: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/alert.cpp:5: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/alert.cpp:5: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/alert.cpp:5: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ In file included from src/alert.cpp:6:0: ../../../include/libtorrent/alert.hpp:232: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.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:6:0: ../../../include/libtorrent/alert.hpp:254: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.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:6:0: ../../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:6:0: ../../../include/libtorrent/alert.hpp:283: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.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/alert.cpp: In function 'void bind_alert()': src/alert.cpp:111:38: warning: 'libtorrent::alert::severity_t libtorrent::alert::severity() const' is deprecated [-Wdeprecated-declarations] .def("severity", &alert::severity) ^~~~~~~~ In file included from src/alert.cpp:6:0: ../../../include/libtorrent/alert.hpp:228:14: note: declared here severity_t severity() const TORRENT_DEPRECATED { return warning; } ^~~~~~~~ gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -I/usr/include -I/usr/include -I../../../include -I/usr/include/python2.7 -c src/entry.cpp -o build/temp.linux-x86_64-2.7/src/entry.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/entry.cpp:5: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/entry.cpp:5: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/entry.cpp:5: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/entry.cpp:5: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ In file included from ../../../include/libtorrent/session.hpp:57:0, from src/entry.cpp:6: ../../../include/libtorrent/alert.hpp:232: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.0.0/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.0.0/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:254: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.0.0/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.0.0/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:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/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:283: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.0.0/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.0.0/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:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/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:1006: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.0.0/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.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -I/usr/include -I/usr/include -I../../../include -I/usr/include/python2.7 -c src/module.cpp -o build/temp.linux-x86_64-2.7/src/module.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -I/usr/include -I/usr/include -I../../../include -I/usr/include/python2.7 -c src/create_torrent.cpp -o build/temp.linux-x86_64-2.7/src/create_torrent.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/create_torrent.cpp:5: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/create_torrent.cpp:5: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/create_torrent.cpp:5: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/create_torrent.cpp:5: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is 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:314: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:319: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:317:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -I/usr/include -I/usr/include -I../../../include -I/usr/include/python2.7 -c src/magnet_uri.cpp -o build/temp.linux-x86_64-2.7/src/magnet_uri.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/magnet_uri.cpp:5: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/magnet_uri.cpp:5: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/magnet_uri.cpp:5: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/magnet_uri.cpp:5: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ In file included from ../../../include/libtorrent/session.hpp:57:0, from src/magnet_uri.cpp:6: ../../../include/libtorrent/alert.hpp:232: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.0.0/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.0.0/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:254: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.0.0/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.0.0/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:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/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:283: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.0.0/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.0.0/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:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/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:1006: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.0.0/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.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../../include/libtorrent/torrent.hpp:75, from src/magnet_uri.cpp:7: ../../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../../include/libtorrent/torrent.hpp:75, from src/magnet_uri.cpp:7: ../../../include/libtorrent/alert_manager.hpp:89: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.0.0/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.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../../include/libtorrent/torrent.hpp:75, from src/magnet_uri.cpp:7: ../../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../../include/libtorrent/torrent.hpp:75, from src/magnet_uri.cpp:7: ../../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/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:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/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:398: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.0.0/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.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -I/usr/include -I/usr/include -I../../../include -I/usr/include/python2.7 -c src/string.cpp -o build/temp.linux-x86_64-2.7/src/string.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/string.cpp:5: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/string.cpp:5: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/string.cpp:5: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/string.cpp:5: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -I/usr/include -I/usr/include -I../../../include -I/usr/include/python2.7 -c src/big_number.cpp -o build/temp.linux-x86_64-2.7/src/big_number.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/big_number.cpp:6: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/big_number.cpp:6: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/big_number.cpp:6: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/big_number.cpp:6: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -I/usr/include -I/usr/include -I../../../include -I/usr/include/python2.7 -c src/torrent_status.cpp -o build/temp.linux-x86_64-2.7/src/torrent_status.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/torrent_status.cpp:5: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/torrent_status.cpp:5: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/torrent_status.cpp:5: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/torrent_status.cpp:5: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -I/usr/include -I/usr/include -I../../../include -I/usr/include/python2.7 -c src/peer_info.cpp -o build/temp.linux-x86_64-2.7/src/peer_info.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/peer_info.cpp:7: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/peer_info.cpp:7: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/peer_info.cpp:7: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/peer_info.cpp:7: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -I/usr/include -I/usr/include -I../../../include -I/usr/include/python2.7 -c src/converters.cpp -o build/temp.linux-x86_64-2.7/src/converters.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/converters.cpp:5: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/converters.cpp:5: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/converters.cpp:5: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/converters.cpp:5: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -I/usr/include -I/usr/include -I../../../include -I/usr/include/python2.7 -c src/datetime.cpp -o build/temp.linux-x86_64-2.7/src/datetime.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/datetime.cpp:5: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/datetime.cpp:5: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/datetime.cpp:5: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/datetime.cpp:5: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -I/usr/include -I/usr/include -I../../../include -I/usr/include/python2.7 -c src/ip_filter.cpp -o build/temp.linux-x86_64-2.7/src/ip_filter.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/ip_filter.cpp:6: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/ip_filter.cpp:6: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/ip_filter.cpp:6: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/ip_filter.cpp:6: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -I/usr/include -I/usr/include -I../../../include -I/usr/include/python2.7 -c src/torrent_handle.cpp -o build/temp.linux-x86_64-2.7/src/torrent_handle.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/torrent_handle.cpp:5: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/torrent_handle.cpp:5: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/torrent_handle.cpp:5: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/torrent_handle.cpp:5: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ src/torrent_handle.cpp: In function 'boost::intrusive_ptr get_torrent_info(const libtorrent::torrent_handle&)': src/torrent_handle.cpp:317:70: warning: 'const libtorrent::torrent_info& libtorrent::torrent_handle::get_torrent_info() const' is deprecated [-Wdeprecated-declarations] return boost::intrusive_ptr(&h.get_torrent_info()); ^ In file included from src/torrent_handle.cpp:7:0: ../../../include/libtorrent/torrent_handle.hpp:842:23: note: declared here const torrent_info& get_torrent_info() const 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:334: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:850: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:339: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:852: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:872:8: note: declared here bool super_seeding() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~ src/torrent_handle.cpp:365:100: warning: 'void libtorrent::torrent_handle::move_storage(const wstring&, int) const' is deprecated [-Wdeprecated-declarations] void (torrent_handle::*move_storage1)(std::wstring const&, int flags) const = &torrent_handle::move_storage; ^~~~~~~~~~~~ In file included from src/torrent_handle.cpp:7:0: ../../../include/libtorrent/torrent_handle.hpp:1143:8: note: declared here void move_storage(std::wstring const& save_path, int flags = 0) 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:1145:8: note: declared here void rename_file(int index, std::wstring const& new_name) const TORRENT_DEPRECATED; ^~~~~~~~~~~ src/torrent_handle.cpp:417: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:880:8: note: declared here void filter_piece(int index, bool filter) const TORRENT_DEPRECATED; ^~~~~~~~~~~~ src/torrent_handle.cpp:418: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:884:8: note: declared here bool is_piece_filtered(int index) const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~ src/torrent_handle.cpp:419: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:896:9: note: declared here entry write_resume_data() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~ src/torrent_handle.cpp:420: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:860:8: note: declared here bool is_seed() const TORRENT_DEPRECATED; ^~~~~~~ src/torrent_handle.cpp:421: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:862:8: note: declared here bool is_finished() const TORRENT_DEPRECATED; ^~~~~~~~~~~ src/torrent_handle.cpp:422: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:864:8: note: declared here bool is_paused() const TORRENT_DEPRECATED; ^~~~~~~~~ src/torrent_handle.cpp:423: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:866:8: note: declared here bool is_auto_managed() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~ src/torrent_handle.cpp:424: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:870:8: note: declared here bool has_metadata() const TORRENT_DEPRECATED; ^~~~~~~~~~~~ src/torrent_handle.cpp:426:41: warning: 'std::__cxx11::string libtorrent::torrent_handle::name() const' is deprecated [-Wdeprecated-declarations] .def("name", _(&torrent_handle::name)) ^~~~ In file included from src/torrent_handle.cpp:7:0: ../../../include/libtorrent/torrent_handle.hpp:838:15: note: declared here std::string name() const TORRENT_DEPRECATED; ^~~~ src/torrent_handle.cpp:463: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:856:8: note: declared here void set_ratio(float up_down_ratio) const TORRENT_DEPRECATED; ^~~~~~~~~ src/torrent_handle.cpp:464:46: warning: 'std::__cxx11::string libtorrent::torrent_handle::save_path() const' is deprecated [-Wdeprecated-declarations] .def("save_path", _(&torrent_handle::save_path)) ^~~~~~~~~ In file included from src/torrent_handle.cpp:7:0: ../../../include/libtorrent/torrent_handle.hpp:830:15: note: declared here std::string save_path() const TORRENT_DEPRECATED; ^~~~~~~~~ gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -I/usr/include -I/usr/include -I../../../include -I/usr/include/python2.7 -c src/torrent_info.cpp -o build/temp.linux-x86_64-2.7/src/torrent_info.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/torrent_info.cpp:5: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/torrent_info.cpp:5: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/torrent_info.cpp:5: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/torrent_info.cpp:5: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ src/torrent_info.cpp: In function 'libtorrent::file_storage::iterator {anonymous}::begin_files(libtorrent::torrent_info&)': src/torrent_info.cpp:94:30: warning: 'libtorrent::torrent_info::file_iterator libtorrent::torrent_info::begin_files() const' is deprecated [-Wdeprecated-declarations] return i.begin_files(); ^ In file included from src/torrent_info.cpp:6:0: ../../../include/libtorrent/torrent_info.hpp:490:17: note: declared here file_iterator begin_files() const TORRENT_DEPRECATED { return m_files.begin_deprecated(); } ^~~~~~~~~~~ src/torrent_info.cpp: In function 'libtorrent::file_storage::iterator {anonymous}::end_files(libtorrent::torrent_info&)': src/torrent_info.cpp:99:28: warning: 'libtorrent::torrent_info::file_iterator libtorrent::torrent_info::end_files() const' is deprecated [-Wdeprecated-declarations] return i.end_files(); ^ In file included from src/torrent_info.cpp:6:0: ../../../include/libtorrent/torrent_info.hpp:492:17: note: declared here file_iterator end_files() const TORRENT_DEPRECATED { return m_files.end_deprecated(); } ^~~~~~~~~ src/torrent_info.cpp: In function 'void bind_torrent_info()': src/torrent_info.cpp:237: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:407:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ src/torrent_info.cpp:274:47: warning: 'libtorrent::torrent_info::file_iterator libtorrent::torrent_info::file_at_offset(libtorrent::size_type) const' is deprecated [-Wdeprecated-declarations] .def("file_at_offset", &torrent_info::file_at_offset) ^~~~~~~~~~~~~~ In file included from src/torrent_info.cpp:6:0: ../../../include/libtorrent/torrent_info.hpp:498:17: note: declared here file_iterator file_at_offset(size_type offset) const 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) ^~~~~~~~~~~ gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -I/usr/include -I/usr/include -I../../../include -I/usr/include/python2.7 -c src/session.cpp -o build/temp.linux-x86_64-2.7/src/session.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/session.cpp:5: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/session.cpp:5: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/session.cpp:5: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/session.cpp:5: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ In file included from ../../../include/libtorrent/session.hpp:57:0, from src/session.cpp:8: ../../../include/libtorrent/alert.hpp:232: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.0.0/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.0.0/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:254: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.0.0/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.0.0/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:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/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:283: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.0.0/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.0.0/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:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/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:1006: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.0.0/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.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../../include/libtorrent/aux_/session_impl.hpp:83:0, from src/session.cpp:17: ../../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../../include/libtorrent/aux_/session_impl.hpp:83:0, from src/session.cpp:17: ../../../include/libtorrent/alert_manager.hpp:89: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.0.0/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.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../../include/libtorrent/aux_/session_impl.hpp:83:0, from src/session.cpp:17: ../../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../../include/libtorrent/aux_/session_impl.hpp:83:0, from src/session.cpp:17: ../../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/session.cpp:17:0: ../../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/session.cpp:17:0: ../../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/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.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/session.cpp: In function 'void {anonymous}::add_extension(libtorrent::session&, const boost::python::api::object&)': src/session.cpp:82:29: warning: 'boost::shared_ptr libtorrent::create_metadata_plugin(libtorrent::torrent*, void*)' is deprecated [-Wdeprecated-declarations] s.add_extension(create_metadata_plugin); ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/session.cpp:20:0: ../../../include/libtorrent/extensions/metadata_transfer.hpp:62:2: note: declared here create_metadata_plugin(torrent*, void*) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~~~~ 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:175: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:355: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:464:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr a; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/session.cpp: In function 'void bind_session()': src/session.cpp:510: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:581:8: note: declared here void start_dht(entry const& startup_state) TORRENT_DEPRECATED; ^~~~~~~~~ src/session.cpp:666: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:579:9: note: declared here entry dht_state() const TORRENT_DEPRECATED; ^~~~~~~~~ src/session.cpp:667: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:890:8: note: declared here void set_dht_proxy(proxy_settings const& s) TORRENT_DEPRECATED; ^~~~~~~~~~~~~ src/session.cpp:668: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:892:18: note: declared here proxy_settings dht_proxy() const TORRENT_DEPRECATED; ^~~~~~~~~ src/session.cpp:688: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:909:8: note: declared here void set_local_download_rate_limit(int bytes_per_second) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/session.cpp:689: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:902:7: note: declared here int local_download_rate_limit() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~~~~~~~ src/session.cpp:691: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:907:8: note: declared here void set_local_upload_rate_limit(int bytes_per_second) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/session.cpp:692: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:900:7: note: declared here int local_upload_rate_limit() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~~~~~ src/session.cpp:694: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:913:8: note: declared here void set_download_rate_limit(int bytes_per_second) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~~~~~ src/session.cpp:695: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:898:7: note: declared here int download_rate_limit() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/session.cpp:697: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:911:8: note: declared here void set_upload_rate_limit(int bytes_per_second) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~~~ src/session.cpp:698: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:896:7: note: declared here int upload_rate_limit() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~ src/session.cpp:700: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:915:8: note: declared here void set_max_uploads(int limit) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~ src/session.cpp:701: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:917:8: note: declared here void set_max_connections(int limit) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/session.cpp:702: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:922:7: note: declared here int max_connections() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~ src/session.cpp:703: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:919:8: note: declared here void set_max_half_open_connections(int limit) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/session.cpp:704: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:872:7: note: declared here int num_connections() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~ src/session.cpp:724: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:984:8: note: declared here void set_severity_level(alert::severity_t s) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~ src/session.cpp:725: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:987:10: note: declared here size_t set_alert_queue_size_limit(size_t queue_size_limit_) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/session.cpp:733: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:876:8: note: declared here void set_peer_proxy(proxy_settings const& s) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~ src/session.cpp:734: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:880:8: note: declared here void set_tracker_proxy(proxy_settings const& s) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~ src/session.cpp:735: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:878:8: note: declared here void set_web_seed_proxy(proxy_settings const& s) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~ src/session.cpp:736: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:883:18: note: declared here proxy_settings peer_proxy() const TORRENT_DEPRECATED; ^~~~~~~~~~ src/session.cpp:737: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:887:18: note: declared here proxy_settings tracker_proxy() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~ src/session.cpp:738: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:885:18: note: declared here proxy_settings web_seed_proxy() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~ creating build/lib.linux-x86_64-2.7 g++ -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib64 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic build/temp.linux-x86_64-2.7/src/error_code.o build/temp.linux-x86_64-2.7/src/session_settings.o build/temp.linux-x86_64-2.7/src/fingerprint.o build/temp.linux-x86_64-2.7/src/version.o build/temp.linux-x86_64-2.7/src/utility.o build/temp.linux-x86_64-2.7/src/alert.o build/temp.linux-x86_64-2.7/src/entry.o build/temp.linux-x86_64-2.7/src/module.o build/temp.linux-x86_64-2.7/src/create_torrent.o build/temp.linux-x86_64-2.7/src/magnet_uri.o build/temp.linux-x86_64-2.7/src/string.o build/temp.linux-x86_64-2.7/src/big_number.o build/temp.linux-x86_64-2.7/src/torrent_status.o build/temp.linux-x86_64-2.7/src/peer_info.o build/temp.linux-x86_64-2.7/src/converters.o build/temp.linux-x86_64-2.7/src/datetime.o build/temp.linux-x86_64-2.7/src/ip_filter.o build/temp.linux-x86_64-2.7/src/torrent_handle.o build/temp.linux-x86_64-2.7/src/torrent_info.o build/temp.linux-x86_64-2.7/src/session.o -L/usr/lib64 -ltorrent-rasterbar -lGeoIP -lpthread -lboost_system -lboost_python -lpthread -lssl -lcrypto -lpython2.7 -o build/lib.linux-x86_64-2.7/libtorrent.so -L../../src/.libs -L/usr/lib64 -L/usr/lib64 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld make[2]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/bindings/python' make[2]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/bindings' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/bindings' make[1]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/bindings' Making all in tools make[1]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/tools' g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -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=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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. -I../../tools -ftemplate-depth-50 -I../../include -Os -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -c -o parse_request_log.o ../../tools/parse_request_log.cpp ../../tools/parse_request_log.cpp: In member function 'virtual bool lru_cache::incoming_request(const request&)': ../../tools/parse_request_log.cpp:140:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (m_cache.size() == m_size) ~~~~~~~~~~~~~~~^~~~~~~~~ ../../tools/parse_request_log.cpp: In function 'int main(int, char**)': ../../tools/parse_request_log.cpp:335:36: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("gnuplot requests.gnuplot"); ^ /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -lboost_system -L/usr/lib64 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o parse_request_log parse_request_log.o ../src/libtorrent-rasterbar.la -lGeoIP -lpthread libtool: link: g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/parse_request_log parse_request_log.o -L/usr/lib64 ../src/.libs/libtorrent-rasterbar.so -lboost_system -lssl -lcrypto -ltommath -lGeoIP -lpthread make[1]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/tools' make[1]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build' ~/build/BUILD/libtorrent-rasterbar-1.0.9 + popd ++ python3.5-config --includes + export 'CPPFLAGS= -I/usr/include/python3.5m -I/usr/include/python3.5m' + CPPFLAGS=' -I/usr/include/python3.5m -I/usr/include/python3.5m' + export 'LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/src/.libs' + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/src/.libs' + export PYTHON=/usr/bin/python3.5 + PYTHON=/usr/bin/python3.5 ++ python3.5-config --libs ~/build/BUILD/libtorrent-rasterbar-1.0.9/build-python3 ~/build/BUILD/libtorrent-rasterbar-1.0.9 + export 'PYTHON_LDFLAGS= -lpython3.5m -lpthread -ldl -lutil -lm ' + PYTHON_LDFLAGS=' -lpython3.5m -lpthread -ldl -lutil -lm ' + pushd build-python3 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/src/.libs' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ../configure ++ find .. -name config.guess -o -name config.sub + for i in '$(find $(dirname ../configure) -name config.guess -o -name config.sub)' ++ basename ../build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ../build-aux/config.sub ++ basename ../build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ../build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> '../build-aux/config.sub' + for i in '$(find $(dirname ../configure) -name config.guess -o -name config.sub)' ++ basename ../build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ../build-aux/config.guess ++ basename ../build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ../build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> '../build-aux/config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ../configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --enable-examples --enable-python-binding --with-boost-system=boost_system --with-boost-python=boost_python3.5 --with-libgeoip=system --with-libiconv --enable-export-all checking whether make supports nested variables... yes Building libtorrent-rasterbar 1.0.9 Checking for a C/C++ compiler to use: checking for x86_64-redhat-linux-gnu-gcc... no checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking how to run the C preprocessor... gcc -E checking whether gcc and cc understand -c and -o together... yes checking for x86_64-redhat-linux-gnu-g++... no checking for x86_64-redhat-linux-gnu-c++... no checking for x86_64-redhat-linux-gnu-gpp... no checking for x86_64-redhat-linux-gnu-aCC... no checking for x86_64-redhat-linux-gnu-CC... no checking for x86_64-redhat-linux-gnu-cxx... no checking for x86_64-redhat-linux-gnu-cc++... no checking for x86_64-redhat-linux-gnu-cl.exe... no checking for x86_64-redhat-linux-gnu-FCC... no checking for x86_64-redhat-linux-gnu-KCC... no checking for x86_64-redhat-linux-gnu-RCC... no checking for x86_64-redhat-linux-gnu-xlC_r... no checking for x86_64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking whether g++ understands -c and -o together... yes Checking system type: checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking target system type... x86_64-redhat-linux-gnu Initializing Automake: checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/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 gcc... none checking dependency style of g++... none Initializing Libtool: checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-redhat-linux-gnu-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 gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate Checking for 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... 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... yes Checking for pkg-config: checking for x86_64-redhat-linux-gnu-pkg-config... /usr/bin/x86_64-redhat-linux-gnu-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... no 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... (cached) /usr/bin/x86_64-redhat-linux-gnu-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... yes checking whether test files should be built... no checking whether python bindings should be built... yes checking whether /usr/bin/python3.5 version is >= 2.4... yes checking for /usr/bin/python3.5 version... 3.5 checking for /usr/bin/python3.5 platform... linux checking for /usr/bin/python3.5 script directory... ${prefix}/lib/python3.5/site-packages checking for /usr/bin/python3.5 extension module directory... ${exec_prefix}/lib64/python3.5/site-packages checking for python3.5... /usr/bin/python3.5 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/python3.5m checking for Python library path... -L/usr/lib64 -lpython3.5m checking for Python site-packages path... /usr/lib/python3.5/site-packages checking python extra libraries... -lpthread -ldl -lutil -lm checking python extra linking flags... -Xlinker -export-dynamic checking consistency of all components of python development environment... yes checking whether the Boost::Python library is available... yes checking whether boost_python3.5 is the correct library... no checking whether boost_python-boost_python3.5 is the correct library... no checking whether boost_python is the correct library... no checking whether boost_python is the correct library... (cached) no checking whether boost_python3 is the correct library... 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... yes configure: libgeoip: now checking for the libgeoip library... checking for libgeoip with pkg-config... yes checking for GEOIP... yes checking whether to link against system libiconv... checking for shared library run path origin... done yes checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); sed: can't read include/libtorrent/version.hpp: No such file or directory 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/link_flags config.status: creating bindings/python/compile_flags config.status: creating libtorrent-rasterbar.pc config.status: creating libtorrent-rasterbar-cmake.pc config.status: executing depfiles commands config.status: executing libtool commands Configure script has finished system check. Config results: -=-=-=-=-=-=-=-=- Package: name: libtorrent-rasterbar version: 1.0.9 svn revision: Build environment: build system: x86_64-redhat-linux-gnu host system: x86_64-redhat-linux-gnu target system: x86_64-redhat-linux-gnu Compiler and linker flags: CPPFlags: -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m CFlags: -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic CXXFlags: -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -ftemplate-depth=120 LDFlags: -L/usr/lib64 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/src/.libs Libs: -lGeoIP -lpthread Defs: -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"1.0.9\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 1.0.9\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"1.0.9\" -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 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"3.5\" -DHAVE_BOOST_PYTHON=/\*\*/ -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -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: yes tests: no python bindings: yes Pthread library: CFlags: -lpthread Libs: -lpthread Boost libraries: version: CPPFlags: -I/usr/include LDFlags: -L/usr/lib64 boost.system: -lboost_system boost.python: -lboost_python3 Python environment: -automake- binary: /usr/bin/python3.5 version: 3.5 platform: linux prefix: ${prefix} exec_prefix: ${exec_prefix} pythondir: ${prefix}/lib/python3.5/site-packages pkgpythondir: ${pythondir}/libtorrent-rasterbar pyexecdir: ${exec_prefix}/lib64/python3.5/site-packages pkgpyexecdir: ${pyexecdir}/libtorrent-rasterbar -m4- cppflags: -I/usr/include/python3.5m ldflags: -lpython3.5m -lpthread -ldl -lutil -lm extra libs: -Xlinker -export-dynamic External libraries: system libgeoip: system system libiconv: yes Iconv library: Iconv Libs: OpenSSL library: OpenSSL Libs: -lssl -lcrypto OpenSSL LDFlags: OpenSSL Includes: Type 'make' to compile libtorrent-rasterbar 1.0.9 or type 'make V=1' for verbose compiling and then 'make install' to install it into /usr ~/build/BUILD/libtorrent-rasterbar-1.0.9/build-python3/bindings/python ~/build/BUILD/libtorrent-rasterbar-1.0.9/build-python3 ~/build/BUILD/libtorrent-rasterbar-1.0.9 + pushd bindings/python + make V=1 -j4 /usr/bin/python3.5 setup.py build running build running build_ext building 'libtorrent' extension creating build creating build/temp.linux-x86_64-3.5 creating build/temp.linux-x86_64-3.5/src gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -fPIC -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -I/usr/include -I../../../include -I/usr/include/python3.5m -c src/error_code.cpp -o build/temp.linux-x86_64-3.5/src/error_code.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/error_code.cpp:33: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/error_code.cpp:33: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/error_code.cpp:33: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/error_code.cpp:33: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -fPIC -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -I/usr/include -I../../../include -I/usr/include/python3.5m -c src/session_settings.cpp -o build/temp.linux-x86_64-3.5/src/session_settings.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/session_settings.cpp:5: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/session_settings.cpp:5: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/session_settings.cpp:5: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/session_settings.cpp:5: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ In file included from ../../../include/libtorrent/session.hpp:57:0, from src/session_settings.cpp:6: ../../../include/libtorrent/alert.hpp:232: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.0.0/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.0.0/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:254: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.0.0/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.0.0/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:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/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:283: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.0.0/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.0.0/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:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/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:1006: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.0.0/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.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -fPIC -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -I/usr/include -I../../../include -I/usr/include/python3.5m -c src/fingerprint.cpp -o build/temp.linux-x86_64-3.5/src/fingerprint.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/fingerprint.cpp:6: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/fingerprint.cpp:6: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/fingerprint.cpp:6: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/fingerprint.cpp:6: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -fPIC -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -I/usr/include -I../../../include -I/usr/include/python3.5m -c src/version.cpp -o build/temp.linux-x86_64-3.5/src/version.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/version.cpp:6: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/version.cpp:6: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/version.cpp:6: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/version.cpp:6: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -fPIC -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -I/usr/include -I../../../include -I/usr/include/python3.5m -c src/utility.cpp -o build/temp.linux-x86_64-3.5/src/utility.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/utility.cpp:7: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/utility.cpp:7: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/utility.cpp:7: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/utility.cpp:7: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -fPIC -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -I/usr/include -I../../../include -I/usr/include/python3.5m -c src/alert.cpp -o build/temp.linux-x86_64-3.5/src/alert.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/alert.cpp:5: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/alert.cpp:5: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/alert.cpp:5: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/alert.cpp:5: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ In file included from src/alert.cpp:6:0: ../../../include/libtorrent/alert.hpp:232: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.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:6:0: ../../../include/libtorrent/alert.hpp:254: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.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:6:0: ../../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:6:0: ../../../include/libtorrent/alert.hpp:283: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.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: At global scope: ../../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/alert.cpp:7:0: ../../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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/alert.cpp:5: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/alert.cpp: In function 'void bind_alert()': src/alert.cpp:111:38: warning: 'libtorrent::alert::severity_t libtorrent::alert::severity() const' is deprecated [-Wdeprecated-declarations] .def("severity", &alert::severity) ^~~~~~~~ In file included from src/alert.cpp:6:0: ../../../include/libtorrent/alert.hpp:228:14: note: declared here severity_t severity() const TORRENT_DEPRECATED { return warning; } ^~~~~~~~ gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -fPIC -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -I/usr/include -I../../../include -I/usr/include/python3.5m -c src/entry.cpp -o build/temp.linux-x86_64-3.5/src/entry.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/entry.cpp:5: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/entry.cpp:5: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/entry.cpp:5: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/entry.cpp:5: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ In file included from ../../../include/libtorrent/session.hpp:57:0, from src/entry.cpp:6: ../../../include/libtorrent/alert.hpp:232: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.0.0/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.0.0/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:254: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.0.0/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.0.0/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:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/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:283: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.0.0/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.0.0/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:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/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:1006: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.0.0/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.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -fPIC -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -I/usr/include -I../../../include -I/usr/include/python3.5m -c src/module.cpp -o build/temp.linux-x86_64-3.5/src/module.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -fPIC -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -I/usr/include -I../../../include -I/usr/include/python3.5m -c src/create_torrent.cpp -o build/temp.linux-x86_64-3.5/src/create_torrent.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/create_torrent.cpp:5: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/create_torrent.cpp:5: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/create_torrent.cpp:5: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/create_torrent.cpp:5: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is 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:314: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:319: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:317:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -fPIC -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -I/usr/include -I../../../include -I/usr/include/python3.5m -c src/magnet_uri.cpp -o build/temp.linux-x86_64-3.5/src/magnet_uri.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/magnet_uri.cpp:5: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/magnet_uri.cpp:5: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/magnet_uri.cpp:5: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/magnet_uri.cpp:5: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ In file included from ../../../include/libtorrent/session.hpp:57:0, from src/magnet_uri.cpp:6: ../../../include/libtorrent/alert.hpp:232: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.0.0/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.0.0/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:254: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.0.0/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.0.0/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:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/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:283: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.0.0/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.0.0/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:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/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:1006: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.0.0/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.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../../include/libtorrent/torrent.hpp:75, from src/magnet_uri.cpp:7: ../../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../../include/libtorrent/torrent.hpp:75, from src/magnet_uri.cpp:7: ../../../include/libtorrent/alert_manager.hpp:89: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.0.0/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.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../../include/libtorrent/torrent.hpp:75, from src/magnet_uri.cpp:7: ../../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../../include/libtorrent/torrent.hpp:75, from src/magnet_uri.cpp:7: ../../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/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:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/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:398: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.0.0/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.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -fPIC -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -I/usr/include -I../../../include -I/usr/include/python3.5m -c src/string.cpp -o build/temp.linux-x86_64-3.5/src/string.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/string.cpp:5: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/string.cpp:5: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/string.cpp:5: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/string.cpp:5: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -fPIC -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -I/usr/include -I../../../include -I/usr/include/python3.5m -c src/big_number.cpp -o build/temp.linux-x86_64-3.5/src/big_number.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/big_number.cpp:6: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/big_number.cpp:6: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/big_number.cpp:6: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/big_number.cpp:6: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -fPIC -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -I/usr/include -I../../../include -I/usr/include/python3.5m -c src/torrent_status.cpp -o build/temp.linux-x86_64-3.5/src/torrent_status.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/torrent_status.cpp:5: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/torrent_status.cpp:5: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/torrent_status.cpp:5: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/torrent_status.cpp:5: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -fPIC -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -I/usr/include -I../../../include -I/usr/include/python3.5m -c src/peer_info.cpp -o build/temp.linux-x86_64-3.5/src/peer_info.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/peer_info.cpp:7: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/peer_info.cpp:7: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/peer_info.cpp:7: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/peer_info.cpp:7: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -fPIC -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -I/usr/include -I../../../include -I/usr/include/python3.5m -c src/converters.cpp -o build/temp.linux-x86_64-3.5/src/converters.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/converters.cpp:5: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/converters.cpp:5: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/converters.cpp:5: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/converters.cpp:5: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -fPIC -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -I/usr/include -I../../../include -I/usr/include/python3.5m -c src/datetime.cpp -o build/temp.linux-x86_64-3.5/src/datetime.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/datetime.cpp:5: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/datetime.cpp:5: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/datetime.cpp:5: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/datetime.cpp:5: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -fPIC -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -I/usr/include -I../../../include -I/usr/include/python3.5m -c src/ip_filter.cpp -o build/temp.linux-x86_64-3.5/src/ip_filter.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/ip_filter.cpp:6: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/ip_filter.cpp:6: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/ip_filter.cpp:6: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/ip_filter.cpp:6: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -fPIC -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -I/usr/include -I../../../include -I/usr/include/python3.5m -c src/torrent_handle.cpp -o build/temp.linux-x86_64-3.5/src/torrent_handle.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/torrent_handle.cpp:5: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/torrent_handle.cpp:5: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/torrent_handle.cpp:5: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/torrent_handle.cpp:5: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ src/torrent_handle.cpp: In function 'boost::intrusive_ptr get_torrent_info(const libtorrent::torrent_handle&)': src/torrent_handle.cpp:317:70: warning: 'const libtorrent::torrent_info& libtorrent::torrent_handle::get_torrent_info() const' is deprecated [-Wdeprecated-declarations] return boost::intrusive_ptr(&h.get_torrent_info()); ^ In file included from src/torrent_handle.cpp:7:0: ../../../include/libtorrent/torrent_handle.hpp:842:23: note: declared here const torrent_info& get_torrent_info() const 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:334: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:850: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:339: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:852: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:872:8: note: declared here bool super_seeding() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~ src/torrent_handle.cpp:365:100: warning: 'void libtorrent::torrent_handle::move_storage(const wstring&, int) const' is deprecated [-Wdeprecated-declarations] void (torrent_handle::*move_storage1)(std::wstring const&, int flags) const = &torrent_handle::move_storage; ^~~~~~~~~~~~ In file included from src/torrent_handle.cpp:7:0: ../../../include/libtorrent/torrent_handle.hpp:1143:8: note: declared here void move_storage(std::wstring const& save_path, int flags = 0) 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:1145:8: note: declared here void rename_file(int index, std::wstring const& new_name) const TORRENT_DEPRECATED; ^~~~~~~~~~~ src/torrent_handle.cpp:417: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:880:8: note: declared here void filter_piece(int index, bool filter) const TORRENT_DEPRECATED; ^~~~~~~~~~~~ src/torrent_handle.cpp:418: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:884:8: note: declared here bool is_piece_filtered(int index) const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~ src/torrent_handle.cpp:419: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:896:9: note: declared here entry write_resume_data() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~ src/torrent_handle.cpp:420: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:860:8: note: declared here bool is_seed() const TORRENT_DEPRECATED; ^~~~~~~ src/torrent_handle.cpp:421: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:862:8: note: declared here bool is_finished() const TORRENT_DEPRECATED; ^~~~~~~~~~~ src/torrent_handle.cpp:422: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:864:8: note: declared here bool is_paused() const TORRENT_DEPRECATED; ^~~~~~~~~ src/torrent_handle.cpp:423: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:866:8: note: declared here bool is_auto_managed() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~ src/torrent_handle.cpp:424: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:870:8: note: declared here bool has_metadata() const TORRENT_DEPRECATED; ^~~~~~~~~~~~ src/torrent_handle.cpp:426:41: warning: 'std::__cxx11::string libtorrent::torrent_handle::name() const' is deprecated [-Wdeprecated-declarations] .def("name", _(&torrent_handle::name)) ^~~~ In file included from src/torrent_handle.cpp:7:0: ../../../include/libtorrent/torrent_handle.hpp:838:15: note: declared here std::string name() const TORRENT_DEPRECATED; ^~~~ src/torrent_handle.cpp:463: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:856:8: note: declared here void set_ratio(float up_down_ratio) const TORRENT_DEPRECATED; ^~~~~~~~~ src/torrent_handle.cpp:464:46: warning: 'std::__cxx11::string libtorrent::torrent_handle::save_path() const' is deprecated [-Wdeprecated-declarations] .def("save_path", _(&torrent_handle::save_path)) ^~~~~~~~~ In file included from src/torrent_handle.cpp:7:0: ../../../include/libtorrent/torrent_handle.hpp:830:15: note: declared here std::string save_path() const TORRENT_DEPRECATED; ^~~~~~~~~ gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -fPIC -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -I/usr/include -I../../../include -I/usr/include/python3.5m -c src/torrent_info.cpp -o build/temp.linux-x86_64-3.5/src/torrent_info.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/torrent_info.cpp:5: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/torrent_info.cpp:5: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/torrent_info.cpp:5: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/torrent_info.cpp:5: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ src/torrent_info.cpp: In function 'libtorrent::file_storage::iterator {anonymous}::begin_files(libtorrent::torrent_info&)': src/torrent_info.cpp:94:30: warning: 'libtorrent::torrent_info::file_iterator libtorrent::torrent_info::begin_files() const' is deprecated [-Wdeprecated-declarations] return i.begin_files(); ^ In file included from src/torrent_info.cpp:6:0: ../../../include/libtorrent/torrent_info.hpp:490:17: note: declared here file_iterator begin_files() const TORRENT_DEPRECATED { return m_files.begin_deprecated(); } ^~~~~~~~~~~ src/torrent_info.cpp: In function 'libtorrent::file_storage::iterator {anonymous}::end_files(libtorrent::torrent_info&)': src/torrent_info.cpp:99:28: warning: 'libtorrent::torrent_info::file_iterator libtorrent::torrent_info::end_files() const' is deprecated [-Wdeprecated-declarations] return i.end_files(); ^ In file included from src/torrent_info.cpp:6:0: ../../../include/libtorrent/torrent_info.hpp:492:17: note: declared here file_iterator end_files() const TORRENT_DEPRECATED { return m_files.end_deprecated(); } ^~~~~~~~~ src/torrent_info.cpp: In function 'void bind_torrent_info()': src/torrent_info.cpp:237: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:407:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ src/torrent_info.cpp:274:47: warning: 'libtorrent::torrent_info::file_iterator libtorrent::torrent_info::file_at_offset(libtorrent::size_type) const' is deprecated [-Wdeprecated-declarations] .def("file_at_offset", &torrent_info::file_at_offset) ^~~~~~~~~~~~~~ In file included from src/torrent_info.cpp:6:0: ../../../include/libtorrent/torrent_info.hpp:498:17: note: declared here file_iterator file_at_offset(size_type offset) const 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) ^~~~~~~~~~~ gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -fPIC -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m -I/usr/include -I../../../include -I/usr/include/python3.5m -c src/session.cpp -o build/temp.linux-x86_64-3.5/src/session.o -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from /usr/include/boost/type_traits/ice.hpp:15:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/session.cpp:5: /usr/include/boost/type_traits/detail/ice_or.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_or.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:16:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/session.cpp:5: /usr/include/boost/type_traits/detail/ice_and.hpp:18:72: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_and.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:17:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/session.cpp:5: /usr/include/boost/type_traits/detail/ice_not.hpp:17:72: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated") ^ In file included from /usr/include/boost/type_traits/ice.hpp:18:0, from /usr/include/boost/python/detail/def_helper.hpp:9, from /usr/include/boost/python/class.hpp:29, from /usr/include/boost/python.hpp:18, from src/session.cpp:5: /usr/include/boost/type_traits/detail/ice_eq.hpp:17:71: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated") ^ In file included from ../../../include/libtorrent/session.hpp:57:0, from src/session.cpp:8: ../../../include/libtorrent/alert.hpp:232: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.0.0/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.0.0/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:254: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.0.0/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.0.0/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:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/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:283: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.0.0/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.0.0/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:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/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:1006: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.0.0/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.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../../include/libtorrent/aux_/session_impl.hpp:83:0, from src/session.cpp:17: ../../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../../include/libtorrent/aux_/session_impl.hpp:83:0, from src/session.cpp:17: ../../../include/libtorrent/alert_manager.hpp:89: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.0.0/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.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../../include/libtorrent/aux_/session_impl.hpp:83:0, from src/session.cpp:17: ../../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../../include/libtorrent/aux_/session_impl.hpp:83:0, from src/session.cpp:17: ../../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/session.cpp:17:0: ../../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/session.cpp:17:0: ../../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/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.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/session.cpp: In function 'void {anonymous}::add_extension(libtorrent::session&, const boost::python::api::object&)': src/session.cpp:82:29: warning: 'boost::shared_ptr libtorrent::create_metadata_plugin(libtorrent::torrent*, void*)' is deprecated [-Wdeprecated-declarations] s.add_extension(create_metadata_plugin); ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/session.cpp:20:0: ../../../include/libtorrent/extensions/metadata_transfer.hpp:62:2: note: declared here create_metadata_plugin(torrent*, void*) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~~~~ 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:175: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:355: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:464:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr a; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/session.cpp: In function 'void bind_session()': src/session.cpp:510: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:581:8: note: declared here void start_dht(entry const& startup_state) TORRENT_DEPRECATED; ^~~~~~~~~ src/session.cpp:666: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:579:9: note: declared here entry dht_state() const TORRENT_DEPRECATED; ^~~~~~~~~ src/session.cpp:667: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:890:8: note: declared here void set_dht_proxy(proxy_settings const& s) TORRENT_DEPRECATED; ^~~~~~~~~~~~~ src/session.cpp:668: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:892:18: note: declared here proxy_settings dht_proxy() const TORRENT_DEPRECATED; ^~~~~~~~~ src/session.cpp:688: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:909:8: note: declared here void set_local_download_rate_limit(int bytes_per_second) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/session.cpp:689: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:902:7: note: declared here int local_download_rate_limit() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~~~~~~~ src/session.cpp:691: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:907:8: note: declared here void set_local_upload_rate_limit(int bytes_per_second) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/session.cpp:692: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:900:7: note: declared here int local_upload_rate_limit() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~~~~~ src/session.cpp:694: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:913:8: note: declared here void set_download_rate_limit(int bytes_per_second) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~~~~~ src/session.cpp:695: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:898:7: note: declared here int download_rate_limit() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/session.cpp:697: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:911:8: note: declared here void set_upload_rate_limit(int bytes_per_second) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~~~ src/session.cpp:698: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:896:7: note: declared here int upload_rate_limit() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~ src/session.cpp:700: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:915:8: note: declared here void set_max_uploads(int limit) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~ src/session.cpp:701: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:917:8: note: declared here void set_max_connections(int limit) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/session.cpp:702: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:922:7: note: declared here int max_connections() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~ src/session.cpp:703: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:919:8: note: declared here void set_max_half_open_connections(int limit) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/session.cpp:704: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:872:7: note: declared here int num_connections() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~ src/session.cpp:724: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:984:8: note: declared here void set_severity_level(alert::severity_t s) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~ src/session.cpp:725: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:987:10: note: declared here size_t set_alert_queue_size_limit(size_t queue_size_limit_) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/session.cpp:733: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:876:8: note: declared here void set_peer_proxy(proxy_settings const& s) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~ src/session.cpp:734: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:880:8: note: declared here void set_tracker_proxy(proxy_settings const& s) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~ src/session.cpp:735: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:878:8: note: declared here void set_web_seed_proxy(proxy_settings const& s) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~ src/session.cpp:736: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:883:18: note: declared here proxy_settings peer_proxy() const TORRENT_DEPRECATED; ^~~~~~~~~~ src/session.cpp:737: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:887:18: note: declared here proxy_settings tracker_proxy() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~ src/session.cpp:738: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:885:18: note: declared here proxy_settings web_seed_proxy() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~ creating build/lib.linux-x86_64-3.5 g++ -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib64 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/src/.libs -L/usr/lib64 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/src/.libs -I/usr/include/ -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/include -I/usr/include/python3.5m -I/usr/include/python3.5m build/temp.linux-x86_64-3.5/src/error_code.o build/temp.linux-x86_64-3.5/src/session_settings.o build/temp.linux-x86_64-3.5/src/fingerprint.o build/temp.linux-x86_64-3.5/src/version.o build/temp.linux-x86_64-3.5/src/utility.o build/temp.linux-x86_64-3.5/src/alert.o build/temp.linux-x86_64-3.5/src/entry.o build/temp.linux-x86_64-3.5/src/module.o build/temp.linux-x86_64-3.5/src/create_torrent.o build/temp.linux-x86_64-3.5/src/magnet_uri.o build/temp.linux-x86_64-3.5/src/string.o build/temp.linux-x86_64-3.5/src/big_number.o build/temp.linux-x86_64-3.5/src/torrent_status.o build/temp.linux-x86_64-3.5/src/peer_info.o build/temp.linux-x86_64-3.5/src/converters.o build/temp.linux-x86_64-3.5/src/datetime.o build/temp.linux-x86_64-3.5/src/ip_filter.o build/temp.linux-x86_64-3.5/src/torrent_handle.o build/temp.linux-x86_64-3.5/src/torrent_info.o build/temp.linux-x86_64-3.5/src/session.o -L/usr/lib64 -ltorrent-rasterbar -lGeoIP -lpthread -lboost_system -lboost_python3 -lpthread -lssl -lcrypto -lpython3.5m -o build/lib.linux-x86_64-3.5/libtorrent.cpython-35m-x86_64-linux-gnu.so -L../../src/.libs -L/usr/lib64 -L/usr/lib64 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/src/.libs + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WDKekd + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64 ++ dirname /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64 + cd libtorrent-rasterbar-1.0.9 + export 'CPPROG=/usr/bin/cp -p' + CPPROG='/usr/bin/cp -p' + pushd build ~/build/BUILD/libtorrent-rasterbar-1.0.9/build ~/build/BUILD/libtorrent-rasterbar-1.0.9 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64 Making install in include/libtorrent make[1]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/include/libtorrent' make[2]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/include/libtorrent' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/include/libtorrent' /usr/bin/install -c -m 644 ../../../include/libtorrent/address.hpp ../../../include/libtorrent/add_torrent_params.hpp ../../../include/libtorrent/alert.hpp ../../../include/libtorrent/alert_manager.hpp ../../../include/libtorrent/alert_dispatcher.hpp ../../../include/libtorrent/alert_types.hpp ../../../include/libtorrent/alloca.hpp ../../../include/libtorrent/allocator.hpp ../../../include/libtorrent/assert.hpp ../../../include/libtorrent/bandwidth_limit.hpp ../../../include/libtorrent/bandwidth_manager.hpp ../../../include/libtorrent/bandwidth_socket.hpp ../../../include/libtorrent/bandwidth_queue_entry.hpp ../../../include/libtorrent/bencode.hpp ../../../include/libtorrent/bitfield.hpp ../../../include/libtorrent/bloom_filter.hpp ../../../include/libtorrent/broadcast_socket.hpp ../../../include/libtorrent/bt_peer_connection.hpp ../../../include/libtorrent/buffer.hpp ../../../include/libtorrent/build_config.hpp ../../../include/libtorrent/chained_buffer.hpp ../../../include/libtorrent/config.hpp ../../../include/libtorrent/connection_queue.hpp ../../../include/libtorrent/ConvertUTF.h ../../../include/libtorrent/copy_ptr.hpp ../../../include/libtorrent/create_torrent.hpp ../../../include/libtorrent/deadline_timer.hpp ../../../include/libtorrent/debug.hpp ../../../include/libtorrent/disk_buffer_holder.hpp ../../../include/libtorrent/disk_buffer_pool.hpp ../../../include/libtorrent/disk_io_thread.hpp ../../../include/libtorrent/ed25519.hpp ../../../include/libtorrent/entry.hpp ../../../include/libtorrent/enum_net.hpp ../../../include/libtorrent/error.hpp ../../../include/libtorrent/error_code.hpp ../../../include/libtorrent/escape_string.hpp ../../../include/libtorrent/export.hpp ../../../include/libtorrent/extensions.hpp ../../../include/libtorrent/file.hpp '/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/include/libtorrent/.' /usr/bin/install -c -m 644 ../../../include/libtorrent/file_pool.hpp ../../../include/libtorrent/file_storage.hpp ../../../include/libtorrent/fingerprint.hpp ../../../include/libtorrent/gzip.hpp ../../../include/libtorrent/hasher.hpp ../../../include/libtorrent/http_connection.hpp ../../../include/libtorrent/http_parser.hpp ../../../include/libtorrent/http_seed_connection.hpp ../../../include/libtorrent/http_stream.hpp ../../../include/libtorrent/http_tracker_connection.hpp ../../../include/libtorrent/i2p_stream.hpp ../../../include/libtorrent/identify_client.hpp ../../../include/libtorrent/instantiate_connection.hpp ../../../include/libtorrent/intrusive_ptr_base.hpp ../../../include/libtorrent/invariant_check.hpp ../../../include/libtorrent/io.hpp ../../../include/libtorrent/io_service.hpp ../../../include/libtorrent/io_service_fwd.hpp ../../../include/libtorrent/ip_filter.hpp ../../../include/libtorrent/ip_voter.hpp ../../../include/libtorrent/lazy_entry.hpp ../../../include/libtorrent/lsd.hpp ../../../include/libtorrent/magnet_uri.hpp ../../../include/libtorrent/max.hpp ../../../include/libtorrent/natpmp.hpp ../../../include/libtorrent/packet_buffer.hpp ../../../include/libtorrent/parse_url.hpp ../../../include/libtorrent/pe_crypto.hpp ../../../include/libtorrent/peer_connection.hpp ../../../include/libtorrent/peer.hpp ../../../include/libtorrent/peer_id.hpp ../../../include/libtorrent/peer_info.hpp ../../../include/libtorrent/peer_request.hpp ../../../include/libtorrent/piece_block_progress.hpp ../../../include/libtorrent/piece_picker.hpp ../../../include/libtorrent/policy.hpp ../../../include/libtorrent/proxy_base.hpp ../../../include/libtorrent/ptime.hpp ../../../include/libtorrent/puff.hpp ../../../include/libtorrent/random.hpp '/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/include/libtorrent/.' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/include/libtorrent/kademlia' /usr/bin/install -c -m 644 ../../../include/libtorrent/kademlia/dht_tracker.hpp ../../../include/libtorrent/kademlia/dht_observer.hpp ../../../include/libtorrent/kademlia/find_data.hpp ../../../include/libtorrent/kademlia/logging.hpp ../../../include/libtorrent/kademlia/msg.hpp ../../../include/libtorrent/kademlia/node.hpp ../../../include/libtorrent/kademlia/node_entry.hpp ../../../include/libtorrent/kademlia/node_id.hpp ../../../include/libtorrent/kademlia/observer.hpp ../../../include/libtorrent/kademlia/refresh.hpp ../../../include/libtorrent/kademlia/routing_table.hpp ../../../include/libtorrent/kademlia/rpc_manager.hpp ../../../include/libtorrent/kademlia/traversal_algorithm.hpp ../../../include/libtorrent/kademlia/item.hpp ../../../include/libtorrent/kademlia/get_item.hpp ../../../include/libtorrent/kademlia/get_peers.hpp '/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/include/libtorrent/kademlia' /usr/bin/install -c -m 644 ../../../include/libtorrent/rss.hpp ../../../include/libtorrent/session.hpp ../../../include/libtorrent/session_settings.hpp ../../../include/libtorrent/session_status.hpp ../../../include/libtorrent/settings.hpp ../../../include/libtorrent/sha1_hash.hpp ../../../include/libtorrent/size_type.hpp ../../../include/libtorrent/sliding_average.hpp ../../../include/libtorrent/socket.hpp ../../../include/libtorrent/socket_io.hpp ../../../include/libtorrent/socket_type.hpp ../../../include/libtorrent/socket_type_fwd.hpp ../../../include/libtorrent/socks5_stream.hpp ../../../include/libtorrent/ssl_stream.hpp ../../../include/libtorrent/stat.hpp ../../../include/libtorrent/storage.hpp ../../../include/libtorrent/storage_defs.hpp ../../../include/libtorrent/string_util.hpp ../../../include/libtorrent/thread.hpp ../../../include/libtorrent/time.hpp ../../../include/libtorrent/timestamp_history.hpp ../../../include/libtorrent/torrent_handle.hpp ../../../include/libtorrent/torrent.hpp ../../../include/libtorrent/torrent_info.hpp ../../../include/libtorrent/tracker_manager.hpp ../../../include/libtorrent/udp_socket.hpp ../../../include/libtorrent/udp_tracker_connection.hpp ../../../include/libtorrent/union_endpoint.hpp ../../../include/libtorrent/upnp.hpp ../../../include/libtorrent/utp_socket_manager.hpp ../../../include/libtorrent/utp_stream.hpp ../../../include/libtorrent/utf8.hpp ../../../include/libtorrent/version.hpp ../../../include/libtorrent/web_connection_base.hpp ../../../include/libtorrent/web_peer_connection.hpp ../../../include/libtorrent/xml_parse.hpp '/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/include/libtorrent/.' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/include/libtorrent/aux_' /usr/bin/install -c -m 644 ../../../include/libtorrent/aux_/session_impl.hpp '/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/include/libtorrent/aux_' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/include/libtorrent/extensions' /usr/bin/install -c -m 644 ../../../include/libtorrent/extensions/logger.hpp ../../../include/libtorrent/extensions/lt_trackers.hpp ../../../include/libtorrent/extensions/metadata_transfer.hpp ../../../include/libtorrent/extensions/smart_ban.hpp ../../../include/libtorrent/extensions/ut_metadata.hpp ../../../include/libtorrent/extensions/ut_pex.hpp '/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/include/libtorrent/extensions' make[2]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/include/libtorrent' make[1]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/include/libtorrent' Making install in src make[1]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/src' make[2]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -c libtorrent-rasterbar.la '/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/lib64' libtool: install: /usr/bin/install -c .libs/libtorrent-rasterbar.so.8.0.0 /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/lib64/libtorrent-rasterbar.so.8.0.0 libtool: install: (cd /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/lib64 && { ln -s -f libtorrent-rasterbar.so.8.0.0 libtorrent-rasterbar.so.8 || { rm -f libtorrent-rasterbar.so.8 && ln -s libtorrent-rasterbar.so.8.0.0 libtorrent-rasterbar.so.8; }; }) libtool: install: (cd /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/lib64 && { ln -s -f libtorrent-rasterbar.so.8.0.0 libtorrent-rasterbar.so || { rm -f libtorrent-rasterbar.so && ln -s libtorrent-rasterbar.so.8.0.0 libtorrent-rasterbar.so; }; }) libtool: install: /usr/bin/install -c .libs/libtorrent-rasterbar.lai /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/lib64/libtorrent-rasterbar.la libtool: warning: remember to run 'libtool --finish /usr/lib64' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/src' make[1]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/src' Making install in examples make[1]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/examples' make[2]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/examples' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c client_test dump_torrent make_torrent simple_client rss_reader upnp_test connection_tester '/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/bin' libtool: warning: '../src/libtorrent-rasterbar.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/client_test /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/bin/client_test libtool: warning: '../src/libtorrent-rasterbar.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/dump_torrent /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/bin/dump_torrent libtool: warning: '../src/libtorrent-rasterbar.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/make_torrent /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/bin/make_torrent libtool: warning: '../src/libtorrent-rasterbar.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/simple_client /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/bin/simple_client libtool: warning: '../src/libtorrent-rasterbar.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/rss_reader /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/bin/rss_reader libtool: warning: '../src/libtorrent-rasterbar.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/upnp_test /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/bin/upnp_test libtool: warning: '../src/libtorrent-rasterbar.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/connection_tester /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/bin/connection_tester make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/examples' make[1]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/examples' Making install in test make[1]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/test' make[2]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/test' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/test' make[1]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/test' Making install in bindings make[1]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/bindings' Making install in python make[2]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/bindings/python' /usr/bin/python setup.py build running build running build_ext make[3]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/bindings/python' /usr/bin/python setup.py install --prefix=/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr running install running build running build_ext running install_lib creating /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/lib64/python2.7/site-packages copying build/lib.linux-x86_64-2.7/libtorrent.so -> /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/lib64/python2.7/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/lib64/python2.7/site-packages/python_libtorrent-1.0.9-py2.7.egg-info make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/bindings/python' make[2]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/bindings/python' make[2]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/bindings' make[3]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/bindings' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/bindings' make[2]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/bindings' make[1]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/bindings' Making install in tools make[1]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/tools' make[2]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/tools' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c parse_request_log '/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/bin' libtool: warning: '../src/libtorrent-rasterbar.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/parse_request_log /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/bin/parse_request_log make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/tools' make[1]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/tools' make[1]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build' make[2]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/lib64/pkgconfig' /usr/bin/install -c -m 644 libtorrent-rasterbar.pc '/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/lib64/pkgconfig' make[2]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build' make[1]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build' + rename client torrent_client /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/bin/client_test /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/bin/connection_tester /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/bin/dump_torrent /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/bin/make_torrent /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/bin/parse_request_log /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/bin/rss_reader /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/bin/simple_client /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/bin/upnp_test ~/build/BUILD/libtorrent-rasterbar-1.0.9/build/bindings/python ~/build/BUILD/libtorrent-rasterbar-1.0.9/build ~/build/BUILD/libtorrent-rasterbar-1.0.9 + pushd bindings/python + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64 running install running install_lib running install_egg_info Removing /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/lib64/python2.7/site-packages/python_libtorrent-1.0.9-py2.7.egg-info Writing /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/lib64/python2.7/site-packages/python_libtorrent-1.0.9-py2.7.egg-info ~/build/BUILD/libtorrent-rasterbar-1.0.9/build ~/build/BUILD/libtorrent-rasterbar-1.0.9 ~/build/BUILD/libtorrent-rasterbar-1.0.9 ~/build/BUILD/libtorrent-rasterbar-1.0.9/build-python3/bindings/python ~/build/BUILD/libtorrent-rasterbar-1.0.9 + popd + popd + pushd build-python3/bindings/python + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/lib64/python3.5 creating /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/lib64/python3.5/site-packages copying build/lib.linux-x86_64-3.5/libtorrent.cpython-35m-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/lib64/python3.5/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/lib64/python3.5/site-packages/python_libtorrent-1.0.9-py3.5.egg-info ~/build/BUILD/libtorrent-rasterbar-1.0.9 + popd + install -p -m 0644 /builddir/build/SOURCES/rb_libtorrent-README-renames.Fedora ./README-renames.Fedora + rm -fv /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/lib64/libtorrent-rasterbar.la removed '/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/lib64/libtorrent-rasterbar.la' + rm -fv '/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/lib64/lib*.a' + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/libtorrent-rasterbar-1.0.9 extracting debug info from /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/lib64/python3.5/site-packages/libtorrent.cpython-35m-x86_64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/lib64/python2.7/site-packages/libtorrent.so extracting debug info from /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/lib64/libtorrent-rasterbar.so.8.0.0 extracting debug info from /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/bin/torrent_client_test extracting debug info from /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/bin/rss_reader extracting debug info from /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/bin/connection_tester extracting debug info from /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/bin/simple_torrent_client extracting debug info from /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/bin/upnp_test extracting debug info from /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/bin/parse_request_log extracting debug info from /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/bin/dump_torrent extracting debug info from /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/bin/make_torrent /usr/lib/rpm/sepdebugcrcfix: Updated 11 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/lib64/libtorrent-rasterbar.so.8.0.0.debug to /usr/lib/debug/usr/lib64/libtorrent-rasterbar.so.debug symlinked /usr/lib/debug/usr/lib64/libtorrent-rasterbar.so.8.0.0.debug to /usr/lib/debug/usr/lib64/libtorrent-rasterbar.so.8.debug 7970 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/lib/debug/usr/lib64/python3.5 using /usr/bin/python3.5 Bytecompiling .py files below /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/lib/debug/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/lib64/python3.5 using /usr/bin/python3.5 Bytecompiling .py files below /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/lib64/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.2p64wU + umask 022 + cd /builddir/build/BUILD + cd libtorrent-rasterbar-1.0.9 + pushd build ~/build/BUILD/libtorrent-rasterbar-1.0.9/build ~/build/BUILD/libtorrent-rasterbar-1.0.9 + make check Making check in include/libtorrent make[1]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/include/libtorrent' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/include/libtorrent' Making check in src make[1]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/src' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/src' Making check in examples make[1]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/examples' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/examples' Making check in test make[1]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/test' make make[2]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/test' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/test' make check-TESTS make[2]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/test' make[3]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/test' ============================================================================ Testsuite summary for libtorrent-rasterbar 1.0.9 ============================================================================ # TOTAL: 0 # PASS: 0 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[3]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/test' make[2]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/test' make[1]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/test' Making check in bindings make[1]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/bindings' Making check in python make[2]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/bindings/python' /usr/bin/python setup.py build running build running build_ext make[2]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/bindings/python' make[2]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/bindings' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/bindings' make[1]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/bindings' Making check in tools make[1]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/tools' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build/tools' make[1]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build' make[1]: Nothing to be done for 'check-am'. make[1]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build' + popd ~/build/BUILD/libtorrent-rasterbar-1.0.9 ~/build/BUILD/libtorrent-rasterbar-1.0.9/build-python3 ~/build/BUILD/libtorrent-rasterbar-1.0.9 + pushd build-python3 + make check Making check in include/libtorrent make[1]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build-python3/include/libtorrent' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build-python3/include/libtorrent' Making check in src make[1]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build-python3/src' CXX web_connection_base.lo In file included from ../../include/libtorrent/peer_connection.hpp:66:0, from ../../include/libtorrent/web_connection_base.hpp:60, from ../../src/web_connection_base.cpp:38: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/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 ../../src/web_connection_base.cpp:38: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/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 ../../src/web_connection_base.cpp:38: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/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 ../../src/web_connection_base.cpp:38: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../src/web_connection_base.cpp:38: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../src/web_connection_base.cpp:38: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../src/web_connection_base.cpp:38: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../src/web_connection_base.cpp:38: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/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 ../../src/web_connection_base.cpp:38: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/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 ../../src/web_connection_base.cpp:38: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:39:0: ../../include/libtorrent/session.hpp:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:39:0: ../../include/libtorrent/session.hpp:1006: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_connection_base.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_connection_base.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ CXX alert.lo In file included from ../../src/alert.cpp:36:0: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:36:0: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:36:0: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:36:0: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:131:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_added_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:131:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_added_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:153:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_removed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:153:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_removed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:174:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(read_piece_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:174:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(read_piece_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:194:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_completed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:194:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_completed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:212:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_renamed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:212:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_renamed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:234:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_rename_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:234:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_rename_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:335:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(performance_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:335:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(performance_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:352:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(state_changed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:352:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(state_changed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:383:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:383:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:404:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_warning_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:404:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_warning_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:422:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(scrape_reply_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:422:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(scrape_reply_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:446:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(scrape_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:446:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(scrape_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:465:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_reply_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:465:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_reply_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:485:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_reply_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:485:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_reply_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:501:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_announce_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:501:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_announce_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:523:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(hash_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:523:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(hash_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:539:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_ban_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:539:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_ban_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:552:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_unsnubbed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:552:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_unsnubbed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117: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(peer_snubbed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118: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(peer_snubbed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:578:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:578:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:598:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_connect_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:598:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_connect_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:614:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_disconnected_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:614:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_disconnected_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:636:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(invalid_request_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:636:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(invalid_request_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:651:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_finished_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:651:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_finished_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:667:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(piece_finished_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:667:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(piece_finished_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:683:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(request_dropped_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:683:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(request_dropped_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:700:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(block_timeout_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:700:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(block_timeout_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:717:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(block_finished_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:717:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(block_finished_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:733:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(block_downloading_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:733:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(block_downloading_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:751:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(unwanted_block_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:751:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(unwanted_block_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:768:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(storage_moved_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:768:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(storage_moved_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:783:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(storage_moved_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:783:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(storage_moved_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:805:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_deleted_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:805:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_deleted_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:822:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_delete_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:822:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_delete_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:848:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(save_resume_data_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:848:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(save_resume_data_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:866: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.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:866: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.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:888:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_paused_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:888:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_paused_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:901:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_resumed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:901:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_resumed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:914:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_checked_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:914:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_checked_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:933:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(url_seed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:933:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(url_seed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117: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(file_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118: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(file_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:982:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(metadata_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:982:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(metadata_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1021:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(metadata_received_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1021:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(metadata_received_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1037:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(udp_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1037:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(udp_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1058:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(external_ip_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1058:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(external_ip_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1087:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(listen_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1087:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(listen_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1121:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(listen_succeeded_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1121:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(listen_succeeded_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1146:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(portmap_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1146:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(portmap_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1175:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(portmap_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1175:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(portmap_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1200:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(portmap_log_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1200:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(portmap_log_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1218:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(fastresume_rejected_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1218:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(fastresume_rejected_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1245:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_blocked_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1245:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_blocked_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1274:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_announce_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1274:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_announce_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1291:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_get_peers_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1291:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_get_peers_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1308:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(stats_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1308:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(stats_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1351:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(cache_flushed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1351:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(cache_flushed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1366:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(anonymous_mode_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1366:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(anonymous_mode_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1392:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(lsd_peer_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1392:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(lsd_peer_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1408:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(trackerid_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1408:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(trackerid_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1423:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_bootstrap_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1423:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_bootstrap_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1439:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(rss_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1439:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(rss_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1481:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1481:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1499:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_need_cert_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1499:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_need_cert_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1519:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(incoming_connection_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1519:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(incoming_connection_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1553:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(add_torrent_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1553:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(add_torrent_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1573:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(state_update_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1573:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(state_update_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1598:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_update_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1598:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_update_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1619:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(rss_item_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1619:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(rss_item_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1635:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1635:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1660:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_immutable_item_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1660:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_immutable_item_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1685:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_mutable_item_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1685:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_mutable_item_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1724:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_put_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1724:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_put_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1746:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(i2p_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert.cpp:37:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1746:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(i2p_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../src/alert.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ CXX alert_manager.lo In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../src/alert_manager.cpp:34: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../src/alert_manager.cpp:34: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../src/alert_manager.cpp:34: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../src/alert_manager.cpp:34: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:34:0: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:34:0: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:34:0: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:34:0: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:131:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_added_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:131:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_added_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:153:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_removed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:153:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_removed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:174:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(read_piece_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:174:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(read_piece_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:194:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_completed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:194:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_completed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:212:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_renamed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:212:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_renamed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:234:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_rename_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:234:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_rename_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:335:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(performance_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:335:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(performance_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:352:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(state_changed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:352:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(state_changed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:383:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:383:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:404:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_warning_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:404:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_warning_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:422:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(scrape_reply_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:422:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(scrape_reply_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:446:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(scrape_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:446:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(scrape_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:465:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_reply_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:465:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_reply_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:485:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_reply_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:485:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_reply_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:501:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_announce_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:501:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_announce_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:523:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(hash_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:523:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(hash_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:539:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_ban_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:539:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_ban_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:552:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_unsnubbed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:552:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_unsnubbed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117: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(peer_snubbed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118: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(peer_snubbed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:578:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:578:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:598:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_connect_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:598:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_connect_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:614:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_disconnected_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:614:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_disconnected_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:636:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(invalid_request_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:636:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(invalid_request_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:651:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_finished_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:651:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_finished_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:667:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(piece_finished_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:667:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(piece_finished_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:683:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(request_dropped_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:683:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(request_dropped_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:700:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(block_timeout_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:700:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(block_timeout_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:717:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(block_finished_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:717:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(block_finished_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:733:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(block_downloading_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:733:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(block_downloading_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:751:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(unwanted_block_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:751:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(unwanted_block_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:768:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(storage_moved_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:768:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(storage_moved_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:783:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(storage_moved_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:783:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(storage_moved_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:805:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_deleted_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:805:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_deleted_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:822:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_delete_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:822:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_delete_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:848:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(save_resume_data_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:848:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(save_resume_data_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:866: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.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:866: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.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:888:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_paused_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:888:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_paused_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:901:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_resumed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:901:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_resumed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:914:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_checked_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:914:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_checked_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:933:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(url_seed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:933:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(url_seed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117: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(file_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118: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(file_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:982:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(metadata_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:982:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(metadata_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1021:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(metadata_received_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1021:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(metadata_received_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1037:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(udp_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1037:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(udp_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1058:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(external_ip_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1058:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(external_ip_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1087:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(listen_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1087:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(listen_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1121:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(listen_succeeded_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1121:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(listen_succeeded_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1146:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(portmap_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1146:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(portmap_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1175:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(portmap_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1175:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(portmap_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1200:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(portmap_log_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1200:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(portmap_log_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1218:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(fastresume_rejected_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1218:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(fastresume_rejected_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1245:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_blocked_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1245:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_blocked_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1274:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_announce_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1274:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_announce_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1291:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_get_peers_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1291:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_get_peers_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1308:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(stats_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1308:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(stats_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1351:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(cache_flushed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1351:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(cache_flushed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1366:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(anonymous_mode_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1366:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(anonymous_mode_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1392:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(lsd_peer_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1392:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(lsd_peer_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1408:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(trackerid_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1408:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(trackerid_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1423:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_bootstrap_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1423:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_bootstrap_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1439:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(rss_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1439:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(rss_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1481:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1481:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1499:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_need_cert_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1499:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_need_cert_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1519:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(incoming_connection_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1519:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(incoming_connection_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1553:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(add_torrent_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1553:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(add_torrent_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1573:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(state_update_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1573:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(state_update_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1598:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_update_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1598:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_update_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1619:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(rss_item_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1619:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(rss_item_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1635:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1635:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1660:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_immutable_item_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1660:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_immutable_item_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1685:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_mutable_item_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1685:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_mutable_item_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1724:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_put_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1724:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_put_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:1746:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(i2p_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/alert_manager.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:1746:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(i2p_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/alert_manager.cpp: At global scope: ../../src/alert_manager.cpp:75: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.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/alert_manager.cpp: In member function 'void libtorrent::alert_manager::set_dispatch_function(const boost::function)>&)': ../../src/alert_manager.cpp:88: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.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/alert_manager.cpp: In function 'void libtorrent::dispatch_alert(boost::function, libtorrent::alert*)': ../../src/alert_manager.cpp:97:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr holder(alert_); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/alert_manager.cpp: In member function 'void libtorrent::alert_manager::post_alert_ptr(libtorrent::alert*)': ../../src/alert_manager.cpp:103:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr a(alert_); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/alert_manager.cpp: In member function 'void libtorrent::alert_manager::post_alert(const libtorrent::alert&)': ../../src/alert_manager.cpp:121: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.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/alert_manager.cpp: At global scope: ../../src/alert_manager.cpp:137:37: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void alert_manager::post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l) ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/alert_manager.cpp:161: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.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/alert_manager.cpp: In member function 'std::auto_ptr libtorrent::alert_manager::get()': ../../src/alert_manager.cpp:166:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] return std::auto_ptr(0); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/alert_manager.cpp:170:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] return std::auto_ptr(result); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from ../../include/libtorrent/alert.hpp:36, from ../../include/libtorrent/alert_manager.hpp:37, from ../../src/alert_manager.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ CXX allocator.lo CXX asio.lo CXX assert.lo CXX bandwidth_limit.lo CXX bandwidth_manager.lo CXX bandwidth_queue_entry.lo CXX bloom_filter.lo CXX broadcast_socket.lo CXX bt_peer_connection.lo In file included from ../../include/libtorrent/peer_connection.hpp:66:0, from ../../include/libtorrent/bt_peer_connection.hpp:59, from ../../src/bt_peer_connection.cpp:42: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/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 ../../src/bt_peer_connection.cpp:42: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/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 ../../src/bt_peer_connection.cpp:42: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/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 ../../src/bt_peer_connection.cpp:42: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/bt_peer_connection.cpp:42: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/bt_peer_connection.cpp:42: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/bt_peer_connection.cpp:42: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/bt_peer_connection.cpp:42: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/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 ../../src/bt_peer_connection.cpp:42: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/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 ../../src/bt_peer_connection.cpp:42: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:43:0: ../../include/libtorrent/session.hpp:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:43:0: ../../include/libtorrent/session.hpp:1006: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/bt_peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/bt_peer_connection.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ CXX chained_buffer.lo CXX connection_queue.lo CXX ConvertUTF.lo CXX create_torrent.lo CXX disk_buffer_holder.lo In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/disk_buffer_holder.cpp:34: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/disk_buffer_holder.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/disk_buffer_holder.cpp:34: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/disk_buffer_holder.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/disk_buffer_holder.cpp:34: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/disk_buffer_holder.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/disk_buffer_holder.cpp:34: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/disk_buffer_holder.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/disk_buffer_holder.cpp:34: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/disk_buffer_holder.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/disk_buffer_holder.cpp:34: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/disk_buffer_holder.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/disk_buffer_holder.cpp:34: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/disk_buffer_holder.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/disk_buffer_holder.cpp:34: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/disk_buffer_holder.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/disk_buffer_holder.cpp:34:0: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/disk_buffer_holder.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/disk_buffer_holder.cpp:34:0: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/disk_buffer_holder.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ CXX disk_buffer_pool.lo CXX disk_io_thread.lo CXX entry.lo ../../src/entry.cpp: In member function 'libtorrent::entry::list_type& libtorrent::entry::list()': ../../src/entry.cpp:214:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(data); ^ ../../src/entry.cpp: In member function 'const list_type& libtorrent::entry::list() const': ../../src/entry.cpp:225:50: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(data); ^ ../../src/entry.cpp: In member function 'void libtorrent::entry::swap(libtorrent::entry&)': ../../src/entry.cpp:523:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] std::swap(*reinterpret_cast(data) ^ ../../src/entry.cpp:524:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] , *reinterpret_cast(e.data)); ^ CXX enum_net.lo ../../src/enum_net.cpp: In function 'int libtorrent::{anonymous}::read_nl_sock(int, char*, int, int, int)': ../../src/enum_net.cpp:165:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] } while((nl_hdr->nlmsg_seq != seq) || (nl_hdr->nlmsg_pid != pid)); ~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/enum_net.cpp:165:60: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] } while((nl_hdr->nlmsg_seq != seq) || (nl_hdr->nlmsg_pid != pid)); ~~~~~~~~~~~~~~~~~~^~~~~~ CXX error_code.lo CXX escape_string.lo CXX file.lo ../../src/file.cpp: In member function 'void libtorrent::directory::next(boost::system::error_code&)': ../../src/file.cpp:917: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.0.0/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/6.0.0/x86_64-redhat-linux/bits/c++config.h:2385, from /usr/include/c++/6.0.0/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:152, from /usr/include/boost/config.hpp:39, from ../../include/libtorrent/config.hpp:45, from ../../src/file.cpp:47: /usr/include/dirent.h:189:12: note: declared here extern int __REDIRECT (readdir_r, ^ ../../src/file.cpp:917: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.0.0/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/6.0.0/x86_64-redhat-linux/bits/c++config.h:2385, from /usr/include/c++/6.0.0/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:152, from /usr/include/boost/config.hpp:39, from ../../include/libtorrent/config.hpp:45, from ../../src/file.cpp:47: /usr/include/dirent.h:189:12: note: declared here extern int __REDIRECT (readdir_r, ^ ../../src/file.cpp: In member function 'libtorrent::size_type libtorrent::file::phys_offset(libtorrent::size_type)': ../../src/file.cpp:1946:29: warning: array subscript is above array bounds [-Warray-bounds] if (fm.fiemap.fm_extents[0].fe_flags & FIEMAP_EXTENT_UNKNOWN) ~~~~~~~~~~~~~~~~~~~~~~^ ../../src/file.cpp:1953: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); ~~~~~~~~~~~~~~~~~~~~~~^ ../../src/file.cpp:1953: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); ~~~~~~~~~~~~~~~~~~~~~~^ CXX file_pool.lo CXX file_storage.lo CXX gzip.lo CXX hasher.lo CXX http_connection.lo CXX http_parser.lo CXX http_seed_connection.lo 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 ../../src/http_seed_connection.cpp:37: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/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 ../../src/http_seed_connection.cpp:37: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/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 ../../src/http_seed_connection.cpp:37: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/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 ../../src/http_seed_connection.cpp:37: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../include/libtorrent/http_seed_connection.hpp:59, from ../../src/http_seed_connection.cpp:37: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../include/libtorrent/http_seed_connection.hpp:59, from ../../src/http_seed_connection.cpp:37: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../include/libtorrent/http_seed_connection.hpp:59, from ../../src/http_seed_connection.cpp:37: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../include/libtorrent/http_seed_connection.hpp:59, from ../../src/http_seed_connection.cpp:37: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/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 ../../src/http_seed_connection.cpp:37: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/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 ../../src/http_seed_connection.cpp:37: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:38:0: ../../include/libtorrent/session.hpp:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:38:0: ../../include/libtorrent/session.hpp:1006: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.cpp:42:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/http_seed_connection.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/http_seed_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ CXX http_stream.lo CXX http_tracker_connection.lo In file included from ../../include/libtorrent/torrent.hpp:65:0, from ../../src/http_tracker_connection.cpp:56: ../../include/libtorrent/alert.hpp:232: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.0.0/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 ../../src/http_tracker_connection.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/torrent.hpp:65:0, from ../../src/http_tracker_connection.cpp:56: ../../include/libtorrent/alert.hpp:254: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.0.0/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 ../../src/http_tracker_connection.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/torrent.hpp:65:0, from ../../src/http_tracker_connection.cpp:56: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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 ../../src/http_tracker_connection.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/torrent.hpp:65:0, from ../../src/http_tracker_connection.cpp:56: ../../include/libtorrent/alert.hpp:283: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.0.0/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 ../../src/http_tracker_connection.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../src/http_tracker_connection.cpp:56: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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 ../../src/http_tracker_connection.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../src/http_tracker_connection.cpp:56: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/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 ../../src/http_tracker_connection.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../src/http_tracker_connection.cpp:56: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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 ../../src/http_tracker_connection.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../src/http_tracker_connection.cpp:56: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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 ../../src/http_tracker_connection.cpp:39: /usr/include/c++/6.0.0/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/http_tracker_connection.cpp:56: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/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 ../../src/http_tracker_connection.cpp:39: /usr/include/c++/6.0.0/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/http_tracker_connection.cpp:56: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/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 ../../src/http_tracker_connection.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ CXX i2p_stream.lo CXX identify_client.lo CXX instantiate_connection.lo CXX ip_filter.lo CXX ip_voter.lo CXX lazy_bdecode.lo ../../src/lazy_bdecode.cpp: In member function 'libtorrent::lazy_entry* libtorrent::lazy_entry::dict_find(const string&)': ../../src/lazy_bdecode.cpp:428:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (name.size() != e.val.m_begin - e.name) continue; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ CXX logger.lo In file included from ../../include/libtorrent/peer_connection.hpp:66:0, from ../../src/logger.cpp:56: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/logger.cpp:37: /usr/include/c++/6.0.0/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 ../../src/logger.cpp:56: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/logger.cpp:37: /usr/include/c++/6.0.0/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 ../../src/logger.cpp:56: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/logger.cpp:37: /usr/include/c++/6.0.0/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 ../../src/logger.cpp:56: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/logger.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ CXX lsd.lo CXX lt_trackers.lo In file included from ../../include/libtorrent/peer_connection.hpp:66:0, from ../../src/lt_trackers.cpp:50: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/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 ../../src/lt_trackers.cpp:50: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/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 ../../src/lt_trackers.cpp:50: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/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 ../../src/lt_trackers.cpp:50: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/lt_trackers.cpp:51: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/lt_trackers.cpp:51: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/lt_trackers.cpp:51: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/lt_trackers.cpp:51: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/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 ../../src/lt_trackers.cpp:51: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/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 ../../src/lt_trackers.cpp:51: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/lt_trackers.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/lt_trackers.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ CXX magnet_uri.lo In file included from ../../include/libtorrent/session.hpp:57:0, from ../../src/magnet_uri.cpp:34: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/magnet_uri.cpp:33: /usr/include/c++/6.0.0/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:34: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/magnet_uri.cpp:33: /usr/include/c++/6.0.0/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:34: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/magnet_uri.cpp:33: /usr/include/c++/6.0.0/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:34: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/magnet_uri.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/magnet_uri.cpp:34:0: ../../include/libtorrent/session.hpp:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/magnet_uri.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/magnet_uri.cpp:34:0: ../../include/libtorrent/session.hpp:1006: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/magnet_uri.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ CXX metadata_transfer.lo In file included from ../../include/libtorrent/peer_connection.hpp:66:0, from ../../src/metadata_transfer.cpp:50: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/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 ../../src/metadata_transfer.cpp:50: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/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 ../../src/metadata_transfer.cpp:50: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/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 ../../src/metadata_transfer.cpp:50: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/metadata_transfer.cpp:51: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/metadata_transfer.cpp:51: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/metadata_transfer.cpp:51: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/metadata_transfer.cpp:51: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/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 ../../src/metadata_transfer.cpp:51: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/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 ../../src/metadata_transfer.cpp:51: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/metadata_transfer.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/metadata_transfer.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ CXX natpmp.lo CXX parse_url.lo CXX pe_crypto.lo ../../src/pe_crypto.cpp: In constructor 'libtorrent::dh_key_exchange::dh_key_exchange()': ../../src/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) ~~^~~~~~~~~ CXX peer_connection.lo In file included from ../../include/libtorrent/peer_connection.hpp:66:0, from ../../src/peer_connection.cpp:43: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/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 ../../src/peer_connection.cpp:43: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/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 ../../src/peer_connection.cpp:43: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/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 ../../src/peer_connection.cpp:43: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:47:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/peer_connection.cpp:53: ../../include/libtorrent/alert_manager.hpp: At global scope: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/peer_connection.cpp:53: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/peer_connection.cpp:53: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/peer_connection.cpp:53: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:53:0: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/peer_connection.cpp:53:0: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ CXX piece_picker.lo CXX packet_buffer.lo CXX policy.lo In file included from ../../include/libtorrent/peer_connection.hpp:66:0, from ../../src/policy.cpp:45: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/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 ../../src/policy.cpp:45: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/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 ../../src/policy.cpp:45: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/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 ../../src/policy.cpp:45: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../include/libtorrent/web_peer_connection.hpp:58, from ../../src/policy.cpp:46: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../include/libtorrent/web_peer_connection.hpp:58, from ../../src/policy.cpp:46: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../include/libtorrent/web_peer_connection.hpp:58, from ../../src/policy.cpp:46: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../include/libtorrent/web_peer_connection.hpp:58, from ../../src/policy.cpp:46: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/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 ../../src/policy.cpp:46: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/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 ../../src/policy.cpp:46: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/policy.cpp:50:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/policy.cpp:37: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/peer_connection.hpp:71:0, from ../../src/policy.cpp:45: ../../include/libtorrent/policy.hpp: In constructor 'libtorrent::policy::peer::peer(uint16_t, bool, int)': ../../include/libtorrent/policy.hpp:205:28: warning: 'libtorrent::policy::peer::peer_rank' will be initialized after [-Wreorder] mutable boost::uint32_t peer_rank; ^~~~~~~~~ ../../include/libtorrent/policy.hpp:199:31: warning: 'std::pair* libtorrent::policy::peer::inet_as' [-Wreorder] std::pair* inet_as; ^~~~~~~ ../../src/policy.cpp:1885:2: warning: when initialized here [-Wreorder] policy::peer::peer(boost::uint16_t port, bool conn, int src) ^~~~~~ CXX puff.lo CXX random.lo CXX rss.lo In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/rss.cpp:37: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/rss.cpp:37: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/rss.cpp:37: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/rss.cpp:37: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/rss.cpp:37: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/rss.cpp:37: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/rss.cpp:37: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/rss.cpp:37: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:37:0: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:37:0: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:38:0: ../../include/libtorrent/session.hpp:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:38:0: ../../include/libtorrent/session.hpp:1006: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/rss.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../src/rss.cpp:33: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ CXX session.lo In file included from ../../include/libtorrent/session.hpp:57:0, from ../../src/session.cpp:60: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/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:60: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/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:60: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/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:60: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:60:0: ../../include/libtorrent/session.hpp:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:60:0: ../../include/libtorrent/session.hpp:1006: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session.cpp:63:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/session.cpp:66: ../../include/libtorrent/alert_manager.hpp: At global scope: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/session.cpp:66: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/session.cpp:66: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/session.cpp:66: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/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 ../../src/session.cpp:66: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/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 ../../src/session.cpp:66: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/session.cpp:1137: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/session.cpp:1142: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ CXX session_impl.lo In file included from ../../include/libtorrent/session.hpp:57:0, from ../../src/session_impl.cpp:62: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/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_impl.cpp:62: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/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_impl.cpp:62: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/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_impl.cpp:62: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:62:0: ../../include/libtorrent/session.hpp:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:62:0: ../../include/libtorrent/session.hpp:1006: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/session_impl.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/session_impl.cpp:68: ../../include/libtorrent/alert_manager.hpp: At global scope: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/session_impl.cpp:68: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/session_impl.cpp:68: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/session_impl.cpp:68: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/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 ../../src/session_impl.cpp:68: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/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 ../../src/session_impl.cpp:68: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/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:58, from ../../include/libtorrent/session.hpp:50, from ../../src/session_impl.cpp:62: ../../src/session_impl.cpp: In member function 'void libtorrent::aux::session_impl::load_state(const libtorrent::lazy_entry*)': ../../src/session_impl.cpp:1364:29: warning: offsetof within non-standard-layout type 'libtorrent::aux::session_impl' is undefined [-Winvalid-offsetof] if (c.offset == offsetof(session_impl, m_settings)) ^ ../../src/session_impl.cpp: In member function 'void libtorrent::aux::session_impl::open_new_incoming_socks_connection()': ../../src/session_impl.cpp:2489:8: warning: unused variable 'ret' [-Wunused-variable] bool ret = instantiate_connection(m_io_service, m_proxy ^~~ ../../src/session_impl.cpp: In member function 'void libtorrent::aux::session_impl::open_new_incoming_i2p_connection()': ../../src/session_impl.cpp:2547:8: warning: unused variable 'ret' [-Wunused-variable] bool ret = instantiate_connection(m_io_service, m_i2p_conn.proxy() ^~~ ../../src/session_impl.cpp: In member function 'void libtorrent::aux::session_impl::post_torrent_updates()': ../../src/session_impl.cpp:5060: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/session_impl.cpp: At global scope: ../../src/session_impl.cpp:6230: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/session_impl.cpp:6235: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/session_impl.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ CXX settings.lo CXX sha1.lo CXX smart_ban.lo In file included from ../../include/libtorrent/torrent.hpp:65:0, from ../../src/smart_ban.cpp:53: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/smart_ban.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/torrent.hpp:65:0, from ../../src/smart_ban.cpp:53: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/smart_ban.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/torrent.hpp:65:0, from ../../src/smart_ban.cpp:53: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/smart_ban.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/torrent.hpp:65:0, from ../../src/smart_ban.cpp:53: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/smart_ban.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../src/smart_ban.cpp:53: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/smart_ban.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../src/smart_ban.cpp:53: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/smart_ban.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../src/smart_ban.cpp:53: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/smart_ban.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../src/smart_ban.cpp:53: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/smart_ban.cpp:39: /usr/include/c++/6.0.0/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/smart_ban.cpp:53: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/smart_ban.cpp:39: /usr/include/c++/6.0.0/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/smart_ban.cpp:53: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/smart_ban.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ CXX socket_io.lo CXX socket_type.lo CXX socks5_stream.lo CXX stat.lo CXX storage.lo In file included from ../../include/libtorrent/torrent.hpp:65:0, from ../../src/storage.cpp:56: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/storage.cpp:43: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/torrent.hpp:65:0, from ../../src/storage.cpp:56: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/storage.cpp:43: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/torrent.hpp:65:0, from ../../src/storage.cpp:56: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/storage.cpp:43: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/torrent.hpp:65:0, from ../../src/storage.cpp:56: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/storage.cpp:43: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../src/storage.cpp:56: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/storage.cpp:43: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../src/storage.cpp:56: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/storage.cpp:43: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../src/storage.cpp:56: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/storage.cpp:43: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../src/storage.cpp:56: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/storage.cpp:43: /usr/include/c++/6.0.0/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/storage.cpp:56: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/storage.cpp:43: /usr/include/c++/6.0.0/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/storage.cpp:56: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/storage.cpp:43: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/storage.cpp:58:0: ../../include/libtorrent/session.hpp:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/storage.cpp:43: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/storage.cpp:58:0: ../../include/libtorrent/session.hpp:1006: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/storage.cpp:43: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/storage.cpp: In member function 'int libtorrent::piece_manager::write_impl(libtorrent::file::iovec_t*, int, int, int)': ../../src/storage.cpp:1889:9: warning: unused variable 'hash_offset' [-Wunused-variable] int hash_offset = i->second.offset; ^~~~~~~~~~~ CXX string_util.lo CXX thread.lo CXX torrent.lo In file included from ../../include/libtorrent/session.hpp:57:0, from ../../src/torrent.cpp:52: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/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/torrent.cpp:52: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/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/torrent.cpp:52: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/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/torrent.cpp:52: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:52:0: ../../include/libtorrent/session.hpp:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:52:0: ../../include/libtorrent/session.hpp:1006: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/torrent.cpp:61: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/torrent.cpp:61: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/torrent.cpp:61: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/torrent.cpp:61: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/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 ../../src/torrent.cpp:61: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/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 ../../src/torrent.cpp:61: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent.cpp:67:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent.cpp:44: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/bt_peer_connection.hpp:64:0, from ../../src/torrent.cpp:61: ../../include/libtorrent/torrent.hpp: In constructor 'libtorrent::torrent::torrent(libtorrent::aux::session_impl&, const endpoint&, int, int, const libtorrent::add_torrent_params&, const libtorrent::sha1_hash&)': ../../include/libtorrent/torrent.hpp:1435:34: warning: 'libtorrent::torrent::m_merge_resume_http_seeds' will be initialized after [-Wreorder] bool m_merge_resume_http_seeds:1; ^ ../../include/libtorrent/torrent.hpp:1307:29: warning: 'unsigned int:24 libtorrent::torrent::m_padding' [-Wreorder] boost::uint32_t m_padding:24; ^~ ../../src/torrent.cpp:157:2: warning: when initialized here [-Wreorder] torrent::torrent( ^~~~~~~ CXX torrent_handle.lo In file included from ../../include/libtorrent/peer_connection.hpp:66:0, from ../../include/libtorrent/bt_peer_connection.hpp:59, from ../../src/torrent_handle.cpp:52: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent_handle.cpp:45: /usr/include/c++/6.0.0/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 ../../src/torrent_handle.cpp:52: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent_handle.cpp:45: /usr/include/c++/6.0.0/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 ../../src/torrent_handle.cpp:52: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent_handle.cpp:45: /usr/include/c++/6.0.0/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 ../../src/torrent_handle.cpp:52: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent_handle.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/torrent_handle.cpp:52: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent_handle.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/torrent_handle.cpp:52: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent_handle.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/torrent_handle.cpp:52: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent_handle.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/torrent_handle.cpp:52: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent_handle.cpp:45: /usr/include/c++/6.0.0/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 ../../src/torrent_handle.cpp:52: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent_handle.cpp:45: /usr/include/c++/6.0.0/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 ../../src/torrent_handle.cpp:52: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent_handle.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent_handle.cpp:58:0: ../../include/libtorrent/session.hpp:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent_handle.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/torrent_handle.cpp:58:0: ../../include/libtorrent/session.hpp:1006: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/torrent_handle.cpp:45: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ CXX torrent_info.lo CXX time.lo CXX timestamp_history.lo CXX tracker_manager.lo In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/tracker_manager.cpp:41: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/tracker_manager.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/tracker_manager.cpp:41: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/tracker_manager.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/tracker_manager.cpp:41: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/tracker_manager.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/tracker_manager.cpp:41: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/tracker_manager.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/tracker_manager.cpp:41: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/tracker_manager.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/tracker_manager.cpp:41: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/tracker_manager.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/tracker_manager.cpp:41: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/tracker_manager.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/tracker_manager.cpp:41: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/tracker_manager.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/tracker_manager.cpp:41:0: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/tracker_manager.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/tracker_manager.cpp:41:0: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/tracker_manager.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ CXX udp_socket.lo CXX udp_tracker_connection.lo In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/udp_tracker_connection.cpp:51: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/udp_tracker_connection.cpp:40: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/udp_tracker_connection.cpp:51: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/udp_tracker_connection.cpp:40: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/udp_tracker_connection.cpp:51: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/udp_tracker_connection.cpp:40: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/udp_tracker_connection.cpp:51: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/udp_tracker_connection.cpp:40: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/udp_tracker_connection.cpp:51: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/udp_tracker_connection.cpp:40: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/udp_tracker_connection.cpp:51: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/udp_tracker_connection.cpp:40: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/udp_tracker_connection.cpp:51: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/udp_tracker_connection.cpp:40: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/udp_tracker_connection.cpp:51: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/udp_tracker_connection.cpp:40: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/udp_tracker_connection.cpp:51:0: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/udp_tracker_connection.cpp:40: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/udp_tracker_connection.cpp:51:0: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/udp_tracker_connection.cpp:40: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ CXX upnp.lo CXX ut_metadata.lo In file included from ../../include/libtorrent/peer_connection.hpp:66:0, from ../../src/ut_metadata.cpp:50: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/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 ../../src/ut_metadata.cpp:50: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/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 ../../src/ut_metadata.cpp:50: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/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 ../../src/ut_metadata.cpp:50: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/ut_metadata.cpp:51: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/ut_metadata.cpp:51: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/ut_metadata.cpp:51: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/ut_metadata.cpp:51: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/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 ../../src/ut_metadata.cpp:51: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/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 ../../src/ut_metadata.cpp:51: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/ut_metadata.cpp:57:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_metadata.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ CXX ut_pex.lo In file included from ../../include/libtorrent/peer_connection.hpp:66:0, from ../../src/ut_pex.cpp:45: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_pex.cpp:39: /usr/include/c++/6.0.0/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 ../../src/ut_pex.cpp:45: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_pex.cpp:39: /usr/include/c++/6.0.0/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 ../../src/ut_pex.cpp:45: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_pex.cpp:39: /usr/include/c++/6.0.0/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 ../../src/ut_pex.cpp:45: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_pex.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/ut_pex.cpp:46: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_pex.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/ut_pex.cpp:46: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_pex.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/ut_pex.cpp:46: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_pex.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/bt_peer_connection.hpp:64, from ../../src/ut_pex.cpp:46: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_pex.cpp:39: /usr/include/c++/6.0.0/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 ../../src/ut_pex.cpp:46: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_pex.cpp:39: /usr/include/c++/6.0.0/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 ../../src/ut_pex.cpp:46: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ../../src/ut_pex.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ CXX utf8.lo CXX utp_socket_manager.lo CXX utp_stream.lo In file included from ../../src/utp_stream.cpp:35:0: ../../include/libtorrent/sliding_average.hpp: In member function 'void libtorrent::utp_socket_impl::ack_packet(libtorrent::packet*, const libtorrent::ptime&, uint32_t&, uint16_t)': ../../include/libtorrent/sliding_average.hpp:68:38: warning: 'deviation' may be used uninitialized in this function [-Wmaybe-uninitialized] m_average_deviation += (deviation - m_average_deviation) / (m_num_samples - 1); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../../include/libtorrent/sliding_average.hpp:53:7: note: 'deviation' was declared here int deviation; ^~~~~~~~~ CXX web_peer_connection.lo 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 ../../src/web_peer_connection.cpp:38: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/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 ../../src/web_peer_connection.cpp:38: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/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 ../../src/web_peer_connection.cpp:38: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/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 ../../src/web_peer_connection.cpp:38: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../include/libtorrent/web_peer_connection.hpp:58, from ../../src/web_peer_connection.cpp:38: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../include/libtorrent/web_peer_connection.hpp:58, from ../../src/web_peer_connection.cpp:38: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../include/libtorrent/web_peer_connection.hpp:58, from ../../src/web_peer_connection.cpp:38: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../include/libtorrent/torrent.hpp:75, from ../../include/libtorrent/web_connection_base.hpp:67, from ../../include/libtorrent/web_peer_connection.hpp:58, from ../../src/web_peer_connection.cpp:38: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/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 ../../src/web_peer_connection.cpp:38: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/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 ../../src/web_peer_connection.cpp:38: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:39:0: ../../include/libtorrent/session.hpp:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:39:0: ../../include/libtorrent/session.hpp:1006: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/web_peer_connection.cpp:43:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/web_peer_connection.cpp:35: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/web_peer_connection.cpp: In member function 'virtual void libtorrent::web_peer_connection::write_request(const libtorrent::peer_request&)': ../../src/web_peer_connection.cpp:253:19: warning: unused variable 'front' [-Wunused-variable] peer_request& front = m_requests.front(); ^~~~~ CXX xml_parse.lo CXX version.lo CXX kademlia/dht_tracker.lo In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/kademlia/dht_tracker.cpp:48: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/dht_tracker.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/kademlia/dht_tracker.cpp:48: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/dht_tracker.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/kademlia/dht_tracker.cpp:48: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/dht_tracker.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/alert_manager.hpp:37:0, from ../../include/libtorrent/aux_/session_impl.hpp:83, from ../../src/kademlia/dht_tracker.cpp:48: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/dht_tracker.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/kademlia/dht_tracker.cpp:48: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/dht_tracker.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/kademlia/dht_tracker.cpp:48: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/dht_tracker.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/kademlia/dht_tracker.cpp:48: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/dht_tracker.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/kademlia/dht_tracker.cpp:48: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/dht_tracker.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/dht_tracker.cpp:48:0: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/dht_tracker.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/dht_tracker.cpp:48:0: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/dht_tracker.cpp:39: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ CXX kademlia/find_data.lo CXX kademlia/node.lo In file included from ../../include/libtorrent/alert_types.hpp:36:0, from ../../src/kademlia/node.cpp:40: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/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 ../../src/kademlia/node.cpp:40: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/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 ../../src/kademlia/node.cpp:40: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/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 ../../src/kademlia/node.cpp:40: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:40:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/kademlia/node.cpp:44: ../../include/libtorrent/alert_manager.hpp: At global scope: ../../include/libtorrent/alert_manager.hpp:60:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/kademlia/node.cpp:44: ../../include/libtorrent/alert_manager.hpp:89: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/kademlia/node.cpp:44: ../../include/libtorrent/alert_manager.hpp:96:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_, mutex::scoped_lock& l); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/aux_/session_impl.hpp:83:0, from ../../src/kademlia/node.cpp:44: ../../include/libtorrent/alert_manager.hpp:103:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:44:0: ../../include/libtorrent/aux_/session_impl.hpp:396:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../src/kademlia/node.cpp:44:0: ../../include/libtorrent/aux_/session_impl.hpp:398: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../src/kademlia/node.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../src/kademlia/node.cpp: In member function 'void libtorrent::dht::node_impl::incoming_request(const libtorrent::dht::msg&, libtorrent::entry&)': ../../src/kademlia/node.cpp:1166:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (msg_keys[5] && item->seq != msg_keys[5]->int_value()) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX kademlia/node_id.lo CXX kademlia/refresh.lo CXX kademlia/routing_table.lo ../../src/kademlia/routing_table.cpp: In member function 'const libtorrent::dht::node_entry* libtorrent::dht::routing_table::next_refresh()': ../../src/kademlia/routing_table.cpp:311:6: warning: variable 'bucket_idx' set but not used [-Wunused-but-set-variable] int bucket_idx = -1; ^~~~~~~~~~ ../../src/kademlia/routing_table.cpp: In member function 'bool libtorrent::dht::routing_table::add_node(libtorrent::dht::node_entry)': ../../src/kademlia/routing_table.cpp:472:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (m_buckets.back().live_nodes.size() > bucket_limit(m_buckets.size()-1)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/kademlia/routing_table.cpp: In member function 'libtorrent::dht::routing_table::add_node_status_t libtorrent::dht::routing_table::add_node_impl(libtorrent::dht::node_entry)': ../../src/kademlia/routing_table.cpp:703:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (bucket_index + 1 == m_buckets.size()) ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ../../src/kademlia/routing_table.cpp: In member function 'void libtorrent::dht::routing_table::split_bucket()': ../../src/kademlia/routing_table.cpp:873:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (b.size() > bucket_size_limit) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ CXX kademlia/rpc_manager.lo CXX kademlia/logging.lo CXX kademlia/traversal_algorithm.lo CXX kademlia/get_peers.lo CXX kademlia/get_item.lo CXX kademlia/item.lo CXX ../ed25519/src/add_scalar.lo CXX ../ed25519/src/fe.lo CXX ../ed25519/src/ge.lo CXX ../ed25519/src/key_exchange.lo CXX ../ed25519/src/keypair.lo CXX ../ed25519/src/sc.lo CXX ../ed25519/src/seed.lo ../../src/../ed25519/src/seed.cpp: In function 'int ed25519_create_seed(unsigned char*)': ../../src/../ed25519/src/seed.cpp:33:26: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(seed, 1, 32, f); ^ CXX ../ed25519/src/sha512.lo CXX ../ed25519/src/sign.lo CXX ../ed25519/src/verify.lo CXX asio_ssl.lo CXXLD libtorrent-rasterbar.la make[1]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build-python3/src' Making check in examples make[1]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build-python3/examples' CXX client_test.o In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/client_test.cpp:63: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/client_test.cpp:63: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/client_test.cpp:63: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/client_test.cpp:63: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:63:0: ../../include/libtorrent/session.hpp:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:63:0: ../../include/libtorrent/session.hpp:1006: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.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/client_test.cpp:65:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../examples/client_test.cpp: In function 'std::vector > list_dir(std::__cxx11::string, bool (*)(const string&), boost::system::error_code&)': ../../examples/client_test.cpp:901:9: warning: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated [-Wdeprecated-declarations] while (readdir_r(handle, &de, &dummy) == 0) ^~~~~~~~~ In file included from ../../include/libtorrent/file.hpp:78:0, from ../../include/libtorrent/storage.hpp:60, from ../../include/libtorrent/torrent_handle.hpp:58, from ../../include/libtorrent/session.hpp:50, from ../../examples/client_test.cpp:63: /usr/include/dirent.h:183:12: note: declared here extern int readdir_r (DIR *__restrict __dirp, ^~~~~~~~~ ../../examples/client_test.cpp:901:38: warning: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated [-Wdeprecated-declarations] while (readdir_r(handle, &de, &dummy) == 0) ^ In file included from ../../include/libtorrent/file.hpp:78:0, from ../../include/libtorrent/storage.hpp:60, from ../../include/libtorrent/torrent_handle.hpp:58, from ../../include/libtorrent/session.hpp:50, from ../../examples/client_test.cpp:63: /usr/include/dirent.h:183:12: note: declared here extern int readdir_r (DIR *__restrict __dirp, ^~~~~~~~~ ../../examples/client_test.cpp: In function 'int main(int, char**)': ../../examples/client_test.cpp:2634:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr a(*i); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from ../../examples/client_test.cpp:49: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../examples/client_test.cpp:1873:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%4095s", url); ^ ../../examples/client_test.cpp:1911:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &response); ^ ../../examples/client_test.cpp:2031:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%2047s", url); ^ CXXLD client_test CXX dump_torrent.o CXXLD dump_torrent CXX make_torrent.o CXXLD make_torrent CXX simple_client.o In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/simple_client.cpp:36: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/simple_client.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/simple_client.cpp:36: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/simple_client.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/simple_client.cpp:36: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/simple_client.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/simple_client.cpp:36: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/simple_client.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/simple_client.cpp:36:0: ../../include/libtorrent/session.hpp:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/simple_client.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/simple_client.cpp:36:0: ../../include/libtorrent/session.hpp:1006: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.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/simple_client.cpp:36: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../examples/simple_client.cpp: In function 'int main(int, char**)': ../../examples/simple_client.cpp:74:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%c\n", &a); ^ CXXLD simple_client CXX rss_reader.o In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/rss_reader.cpp:35: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../examples/rss_reader.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/rss_reader.cpp:35: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../examples/rss_reader.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/rss_reader.cpp:35: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../examples/rss_reader.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/rss_reader.cpp:35: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../examples/rss_reader.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/rss_reader.cpp:35:0: ../../include/libtorrent/session.hpp:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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 ../../examples/rss_reader.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/rss_reader.cpp:35:0: ../../include/libtorrent/session.hpp:1006: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.0.0/memory:81:0, from /usr/include/boost/config/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 ../../examples/rss_reader.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ CXXLD rss_reader CXX upnp_test.o In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/upnp_test.cpp:34: ../../include/libtorrent/alert.hpp:232: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.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/upnp_test.cpp:34: ../../include/libtorrent/alert.hpp:254: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.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/upnp_test.cpp:34: ../../include/libtorrent/alert.hpp:268:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from ../../examples/upnp_test.cpp:34: ../../include/libtorrent/alert.hpp:283: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.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:34:0: ../../include/libtorrent/session.hpp:978:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:34:0: ../../include/libtorrent/session.hpp:1006: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.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35: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:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_update_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_error_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_immutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_mutable_item_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_put_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: At global scope: ../../include/libtorrent/alert_types.hpp:117:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../examples/upnp_test.cpp:35:0: ../../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../../include/libtorrent/alert_types.hpp:118:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../examples/upnp_test.cpp: In function 'int main(int, char**)': ../../examples/upnp_test.cpp:85:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr holder = s.pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../../examples/upnp_test.cpp:95:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr holder = s.pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from /usr/include/boost/config/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/session.hpp:50, from ../../examples/upnp_test.cpp:34: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ CXXLD upnp_test CXX connection_tester.o CXXLD connection_tester make[1]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build-python3/examples' Making check in test make[1]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build-python3/test' make make[2]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build-python3/test' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build-python3/test' make check-TESTS make[2]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build-python3/test' make[3]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build-python3/test' ============================================================================ Testsuite summary for libtorrent-rasterbar 1.0.9 ============================================================================ # TOTAL: 0 # PASS: 0 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[3]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build-python3/test' make[2]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build-python3/test' make[1]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build-python3/test' Making check in bindings make[1]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build-python3/bindings' Making check in python make[2]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build-python3/bindings/python' /usr/bin/python3.5 setup.py build running build running build_ext make[2]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build-python3/bindings/python' make[2]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build-python3/bindings' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build-python3/bindings' make[1]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build-python3/bindings' Making check in tools make[1]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build-python3/tools' CXX parse_request_log.o ../../tools/parse_request_log.cpp: In member function 'virtual bool lru_cache::incoming_request(const request&)': ../../tools/parse_request_log.cpp:140:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (m_cache.size() == m_size) ~~~~~~~~~~~~~~~^~~~~~~~~ ../../tools/parse_request_log.cpp: In function 'int main(int, char**)': ../../tools/parse_request_log.cpp:335:36: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("gnuplot requests.gnuplot"); ^ CXXLD parse_request_log make[1]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build-python3/tools' make[1]: Entering directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build-python3' make[1]: Nothing to be done for 'check-am'. make[1]: Leaving directory '/builddir/build/BUILD/libtorrent-rasterbar-1.0.9/build-python3' ~/build/BUILD/libtorrent-rasterbar-1.0.9 + popd + exit 0 Processing files: rb_libtorrent-1.0.9-2.fc25.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tmPZVF + umask 022 + cd /builddir/build/BUILD + cd libtorrent-rasterbar-1.0.9 + DOCDIR=/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/doc/rb_libtorrent + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/doc/rb_libtorrent + cp -pr AUTHORS /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/doc/rb_libtorrent + cp -pr ChangeLog /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/doc/rb_libtorrent + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.i9hdmr + umask 022 + cd /builddir/build/BUILD + cd libtorrent-rasterbar-1.0.9 + LICENSEDIR=/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/licenses/rb_libtorrent + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/licenses/rb_libtorrent + cp -pr COPYING /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/licenses/rb_libtorrent + exit 0 Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/python2.7/site-packages/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /bin/sh -c " while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u " Provides: libtorrent-rasterbar.so.8()(64bit) rb_libtorrent = 1.0.9-2.fc25 rb_libtorrent(x86-64) = 1.0.9-2.fc25 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libGeoIP.so.1()(64bit) libboost_system.so.1.60.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_2.9)(64bit) libcrypto.so.10()(64bit) libcrypto.so.10(libcrypto.so.10)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) libssl.so.10()(64bit) libssl.so.10(libssl.so.10)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtommath.so.1()(64bit) rtld(GNU_HASH) Processing files: rb_libtorrent-devel-1.0.9-2.fc25.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.xzUVod + umask 022 + cd /builddir/build/BUILD + cd libtorrent-rasterbar-1.0.9 + DOCDIR=/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/doc/rb_libtorrent-devel + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/doc/rb_libtorrent-devel + cp -pr docs/ /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/doc/rb_libtorrent-devel + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.RLHmuZ + umask 022 + cd /builddir/build/BUILD + cd libtorrent-rasterbar-1.0.9 + LICENSEDIR=/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/licenses/rb_libtorrent-devel + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/licenses/rb_libtorrent-devel + cp -pr COPYING.Boost /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/licenses/rb_libtorrent-devel + cp -pr COPYING.BSD /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/licenses/rb_libtorrent-devel + cp -pr COPYING.zlib /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/licenses/rb_libtorrent-devel + exit 0 Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/python2.7/site-packages/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /bin/sh -c " while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u " Provides: pkgconfig(libtorrent-rasterbar) = 1.0.9 rb_libtorrent-devel = 1.0.9-2.fc25 rb_libtorrent-devel(x86-64) = 1.0.9-2.fc25 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libtorrent-rasterbar.so.8()(64bit) Conflicts: libtorrent-devel Processing files: rb_libtorrent-examples-1.0.9-2.fc25.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pBxVaZ + umask 022 + cd /builddir/build/BUILD + cd libtorrent-rasterbar-1.0.9 + DOCDIR=/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/doc/rb_libtorrent-examples + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/doc/rb_libtorrent-examples + cp -pr README-renames.Fedora /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/doc/rb_libtorrent-examples + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.VXlzSY + umask 022 + cd /builddir/build/BUILD + cd libtorrent-rasterbar-1.0.9 + LICENSEDIR=/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/licenses/rb_libtorrent-examples + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/licenses/rb_libtorrent-examples + cp -pr COPYING /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/licenses/rb_libtorrent-examples + exit 0 Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/python2.7/site-packages/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /bin/sh -c " while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u " Provides: rb_libtorrent-examples = 1.0.9-2.fc25 rb_libtorrent-examples(x86-64) = 1.0.9-2.fc25 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libGeoIP.so.1()(64bit) libboost_system.so.1.60.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_2.9)(64bit) libcrypto.so.10()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) libssl.so.10()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtommath.so.1()(64bit) libtorrent-rasterbar.so.8()(64bit) rtld(GNU_HASH) Processing files: rb_libtorrent-python2-1.0.9-2.fc25.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9LOLrZ + umask 022 + cd /builddir/build/BUILD + cd libtorrent-rasterbar-1.0.9 + DOCDIR=/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/doc/rb_libtorrent-python2 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/doc/rb_libtorrent-python2 + cp -pr AUTHORS /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/doc/rb_libtorrent-python2 + cp -pr ChangeLog /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/doc/rb_libtorrent-python2 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.dkC11Z + umask 022 + cd /builddir/build/BUILD + cd libtorrent-rasterbar-1.0.9 + LICENSEDIR=/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/licenses/rb_libtorrent-python2 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/licenses/rb_libtorrent-python2 + cp -pr COPYING.Boost /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/licenses/rb_libtorrent-python2 + exit 0 Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/python2.7/site-packages/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /bin/sh -c " while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u " Provides: rb_libtorrent-python rb_libtorrent-python2 = 1.0.9-2.fc25 rb_libtorrent-python2(x86-64) = 1.0.9-2.fc25 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libGeoIP.so.1()(64bit) libboost_python.so.1.60.0()(64bit) libboost_system.so.1.60.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypto.so.10()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpython2.7.so.1.0()(64bit) libssl.so.10()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtorrent-rasterbar.so.8()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Obsoletes: rb_libtorrent-python < 1.0.9 Processing files: rb_libtorrent-python3-1.0.9-2.fc25.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.AUIoa1 + umask 022 + cd /builddir/build/BUILD + cd libtorrent-rasterbar-1.0.9 + DOCDIR=/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/doc/rb_libtorrent-python3 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/doc/rb_libtorrent-python3 + cp -pr AUTHORS /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/doc/rb_libtorrent-python3 + cp -pr ChangeLog /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/doc/rb_libtorrent-python3 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Q14Rj2 + umask 022 + cd /builddir/build/BUILD + cd libtorrent-rasterbar-1.0.9 + LICENSEDIR=/builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/licenses/rb_libtorrent-python3 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/licenses/rb_libtorrent-python3 + cp -pr COPYING.Boost /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64/usr/share/licenses/rb_libtorrent-python3 + exit 0 Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/python2.7/site-packages/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /bin/sh -c " while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u " Provides: libtorrent.cpython-35m-x86_64-linux-gnu.so()(64bit) rb_libtorrent-python3 = 1.0.9-2.fc25 rb_libtorrent-python3(x86-64) = 1.0.9-2.fc25 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libGeoIP.so.1()(64bit) libboost_python3.so.1.60.0()(64bit) libboost_system.so.1.60.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypto.so.10()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpython3.5m.so.1.0()(64bit) libssl.so.10()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtorrent-rasterbar.so.8()(64bit) python(abi) = 3.5 rtld(GNU_HASH) Processing files: rb_libtorrent-debuginfo-1.0.9-2.fc25.x86_64 Provides: rb_libtorrent-debuginfo = 1.0.9-2.fc25 rb_libtorrent-debuginfo(x86-64) = 1.0.9-2.fc25 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64 warning: Could not canonicalize hostname: buildvm-13.phx2.fedoraproject.org Wrote: /builddir/build/RPMS/rb_libtorrent-1.0.9-2.fc25.x86_64.rpm Wrote: /builddir/build/RPMS/rb_libtorrent-devel-1.0.9-2.fc25.x86_64.rpm Wrote: /builddir/build/RPMS/rb_libtorrent-examples-1.0.9-2.fc25.x86_64.rpm Wrote: /builddir/build/RPMS/rb_libtorrent-python2-1.0.9-2.fc25.x86_64.rpm Wrote: /builddir/build/RPMS/rb_libtorrent-python3-1.0.9-2.fc25.x86_64.rpm Wrote: /builddir/build/RPMS/rb_libtorrent-debuginfo-1.0.9-2.fc25.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.eTEphH + umask 022 + cd /builddir/build/BUILD + cd libtorrent-rasterbar-1.0.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rb_libtorrent-1.0.9-2.fc25.x86_64 + exit 0 Child return code was: 0 LEAVE do -->